login
A250984
Record values in A247190.
2
0, 3, 4, 6, 8, 9, 15, 17, 27, 31, 44, 68, 84, 86, 139, 153, 163, 185, 202, 234, 255, 273, 279, 376, 398, 415, 441, 491, 503, 525, 674, 713, 785, 972, 1076, 1098, 1242, 1423, 1678, 1685, 1814, 1882, 2371, 2437, 2931, 2956, 3152, 3170, 3898, 4877, 4922, 4967
OFFSET
1,2
LINKS
PROG
(Python)
from sympy import prime
def A247190(n):
....p, f, fv = prime(n), 1, {}
....for i in range(2, p):
........f = (f*i) % p
........if f in fv:
............return fv[f]
........else:
............fv[f] = i
....return 0
A250984_list, m = [], -1
for i in range(3, 10**6):
....v = A247190(i)
....if v > m:
........A250984_list.append(v)
........m = v
CROSSREFS
Sequence in context: A362670 A355200 A049433 * A135251 A298809 A335194
KEYWORD
nonn
AUTHOR
Chai Wah Wu, Dec 16 2014
STATUS
approved