SP17717 SPCO - Gopu and Counting Bitwise Prime Numbers

Description

A positive integer is said to be Bit-sum-prime if the sum of all the bits in

Input Format

First line contains T : number of test cases. (1

Output Format

For each test case, print the number of bitwise prime numbers between a and b (inclusive).