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

 

Logo

Many excellent designs for a new banner were submitted. We will use the best of them in rotation.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098934 Numbers n such that the sum of the first n digits of pi are divisible by n. 0
1, 2, 9, 11, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

For large n, A046974(n-1)/n is very close to 4.5, so is never an integer. - David Wasserman, Feb 27 2008

LINKS

Table of n, a(n) for n=1..5.

EXAMPLE

a[1] = 1 since 3 is divisible by 1

a[2] = 2 since 3+1 = 4 is divisible by 2

a[3] <> 3 since 3 + 1 + 4 = 8 is not divisible by 3

MATHEMATICA

$MaxPrecision = 2500000; pd = RealDigits[N[Pi, 2000000]][[1]]; s = 0; Do[s = s + pd[[n]]; If[ Mod[s, n] == 0, Print[n]], {n, 2000000}] (from Robert G. Wilson v Oct 21 2004)

CROSSREFS

Cf. A046974.

Sequence in context: A065554 A034042 A138759 * A237877 A043307 A049343

Adjacent sequences:  A098931 A098932 A098933 * A098935 A098936 A098937

KEYWORD

base,easy,fini,full,nonn

AUTHOR

Anne M. Donovan (anned3005(AT)aol.com), Oct 20 2004

STATUS

approved

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

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

Last modified April 18 11:01 EDT 2014. Contains 240707 sequences.