OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..385
EXAMPLE
a(4)-a(3) = 61-7 = 54 == 0 (mod 3^3).
MAPLE
A[1]:= 2: A[2]:= 3:
for n from 2 to 25 do
if n::odd then d:= 2*n^n else d:= n^n fi;
for v from A[n] + d by d do
if isprime(v) then A[n+1]:= v; break fi
od od:
seq(A[i], i=1..26); # Robert Israel, Apr 03 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Sep 08 2003
EXTENSIONS
Corrected and extended by David Wasserman, May 12 2005
Name corrected and more terms from Robert Israel, Apr 03 2024
STATUS
approved