S0cI0pAtH's blog

By S0cI0pAtH, history, 7 years ago, In English

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 :)

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it

By S0cI0pAtH, history, 8 years ago, In English

How i can solve it if n = 5000 in the following problem ? http://postimg.org/image/4cfbw9vc5/ thanks in advance :)

Full text and comments »

  • Vote: I like it
  • -3
  • Vote: I do not like it