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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054268 Sum of composite numbers between prime p and nextprime(p) is a repdigit. 9
3, 5, 109, 111111109, 259259257 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

No additional terms below 472882027

LINKS

Eric Weisstein's World of Mathematics, Repdigit

EXAMPLE

a(5) is ok since between 259259257 and nextprime 259259261 we get the sum 259259258 + 259259259 + 259259260 which yield repdigit 777777777.

MATHEMATICA

repQ[n_]:=Count[DigitCount[n], 0]==9; Select[Prime[Range[2, 14500000]], repQ[Total[Range[#+1, NextPrime[#]-1]]]&]  [From Harvey P. Dale, Jan 29 2011]

CROSSREFS

Cf. A010785, A028987, A028988, A046933, A054264, A054265, A054266, A054267.

Sequence in context: A003112 A130187 A054266 * A153137 A105526 A070743

Adjacent sequences:  A054265 A054266 A054267 * A054269 A054270 A054271

KEYWORD

nonn,base,hard

AUTHOR

Patrick De Geest (pdg(AT)worldofnumbers.com), Apr 15 2000.

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 15 20:02 EST 2012. Contains 205852 sequences.