login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071117 Sum of first n digits of decimal expansion of e is prime. 1
1, 7, 8, 10, 18, 24, 38, 42, 52, 54, 64, 100, 107, 112, 113, 114, 135, 144, 145, 150, 151, 159, 162, 172, 177, 184, 189, 196, 197, 202, 213, 214, 223, 228, 230, 232, 238, 239, 240, 252, 255, 264, 267, 272, 278, 283, 302, 314, 315, 316, 332, 338, 366, 367, 374 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

EXAMPLE

a(2)=7 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

Cf. A001113.

Cf. A001113, A058938.

Sequence in context: A127164 A153972 A111064 * A054221 A195240 A090385

Adjacent sequences:  A071114 A071115 A071116 * A071118 A071119 A071120

KEYWORD

base,easy,nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), May 27 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 14:50 EST 2012. Contains 206050 sequences.