OFFSET
1,2
EXAMPLE
7 is a term because 2+7+1+8+2+8+1 = 29.
MATHEMATICA
a = First[ RealDigits[ N[ E, 400]]]; Do[ If[ PrimeQ[Plus @@ Take[a, n]], Print[n]], {n, 1, 375}]
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, May 27 2002
STATUS
approved