OFFSET
1,1
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..1000
EXAMPLE
1499 is in the sequence because (3^13 mod 13^3) + 1 = 1499 which is prime.
9719 is in the sequence because (3^29 mod 29^3) + 1 = 9719 which is prime.
MAPLE
KD := proc() local a; a:=3^n mod n^3 + 1; if isprime(a) then RETURN (a); fi; end: seq(KD(), n=1..1000);
CROSSREFS
KEYWORD
nonn
AUTHOR
K. D. Bajpai, Dec 17 2013
STATUS
approved