Q: n is a none-negative numbers, in order to let
A:
The following python script proves this by output the first then n (excluding zero because it is so obvious)
#!/usr/bin/python cnt = 0 n = 1 while 1: if (2**n - 1) % 7 == 0: cnt += 1 print n if cnt > 10: break n += 1
It will output 3, 6, 9, 12 … 33.
–EOF (The Ultimate Computing & Technology Blog) —
Last Post: N Queen Problem in Back Tracing, Bit-logics
Next Post: Heart of Equations