help !

Revision en3, by S0cI0pAtH, 2017-01-05 22:45:00

Given an integer N, find how many pairs (A, B) are there such that: gcd(A, B) = A xor B where 1 ≤ B ≤ A ≤ N & 1 ≤ N ≤ 30000000 how can i solve it ? any hint would be helpful thanks in advance :)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English S0cI0pAtH 2017-01-05 22:45:00 72
en2 English S0cI0pAtH 2017-01-05 22:39:17 10 Tiny change: ' B ≤ A ≤ N.\nwhere 1 ≤ N ≤ 3' -> ' B ≤ A ≤ N & 1 ≤ N ≤ 3'
en1 English S0cI0pAtH 2017-01-05 22:38:37 140 Initial revision (published)