OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..97
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
A250985_list, m = [], -1
for i in range(3, 10**6):
....v = A247190(i)
....if v > m:
........A250985_list.append(i)
........m = v
CROSSREFS
KEYWORD
nonn
AUTHOR
Chai Wah Wu, Dec 16 2014
STATUS
approved