OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
PROG
(Haskell)
a071931 n = a071931_list !! (n-1)
a071931_list = filter f a002312_list where
f x = 2 * gpf <= a006530 (gpf ^ 2 + 1) where gpf = a006530 x
-- Reinhard Zumkeller, Jun 12 2015
(Python)
from sympy import factorint
def stormer(n): return max(factorint(n*n + 1)) >= 2*n
def ok(n): return not stormer(n) and stormer(max(factorint(n)))
print(list(filter(ok, range(1, 438)))) # Michael S. Branicky, Aug 30 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Jun 14 2002
STATUS
approved