OFFSET
1,2
COMMENTS
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..127
PROG
(Python)
A246503_list = [1]
for i in range(2, 10**4):
....d, n = i*i, 1
....for _ in range(i):
........n = (2*n) % d
........if n == 1:
............A246503_list.append(i)
............break # Chai Wah Wu, Dec 04 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Max Alekseyev, Nov 29 2014
STATUS
approved