OFFSET
1,1
MATHEMATICA
NextPrim[n_Integer] := Block[ {k = n + 1}, While[ !PrimeQ[k], k++ ]; Return[k]]; a[1] = 5; a[n_] := NextPrim[ 5*a[n - 1]]; Table[ a[n], {n, 1, 25} ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Nov 28 2001
STATUS
approved