The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A054268 Sum of composite numbers between prime p and nextprime(p) is a repdigit. 10
 3, 5, 109, 111111109, 259259257 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS No additional terms below 472882027. LINKS Eric Weisstein's World of Mathematics, Repdigit FORMULA Numbers A000040(n) for n > 1 such that A001043(n)*(A001223(n)-1)/2 is in A010785. - Chai Wah Wu, Aug 12 2014 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]]]&] (* Harvey P. Dale, Jan 29 2011 *) PROG (Python) from sympy import prime A054268 = [prime(n) for n in range(2, 10**5) if len(set(str(int((prime(n+1)-prime(n)-1)*(prime(n+1)+prime(n))/2)))) == 1] # Chai Wah Wu, Aug 12 2014 CROSSREFS Cf. A010785, A028987, A028988, A046933, A054264, A054265, A054266, A054267. Sequence in context: A130187 A289488 A054266 * A153137 A105526 A070743 Adjacent sequences:  A054265 A054266 A054267 * A054269 A054270 A054271 KEYWORD nonn,base,hard AUTHOR Patrick De Geest, Apr 15 2000 STATUS approved

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

Last modified May 25 17:53 EDT 2020. Contains 334595 sequences. (Running on oeis4.)