login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A163120 Sum of the first n digits of the concatenation of all nonprimes. 0
0, 1, 5, 11, 19, 28, 29, 29, 30, 32, 33, 37, 38, 43, 44, 50, 51, 59, 61, 61, 63, 64, 66, 68, 70, 74, 76, 81, 83, 89, 91, 98, 100, 108, 111, 111, 114, 116, 119, 122, 125, 129, 132, 137, 140, 146, 149, 157, 160, 169, 173, 173, 177, 179, 183, 187, 191, 196, 200, 206, 210, 218 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
The nonprimes A141468 are concatenated to an infinite word 01468910121415..., and the partial sums are built by collecting one digit at a time.
LINKS
EXAMPLE
a(10) = 0 + 1 + 4 + 6 + 8 + 9 + 1 + 0 + 1 + 2 = 32.
MATHEMATICA
nn=50; Module[{npd=Flatten[IntegerDigits/@Complement[Range[0, nn], Prime[ Range[ PrimePi[ nn]]]]]}, Accumulate[ npd]] (* Harvey P. Dale, Jan 16 2013 *)
CROSSREFS
Sequence in context: A022823 A094693 A183004 * A051350 A088638 A333675
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Entries checked by R. J. Mathar, Jul 27 2009
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 11 07:51 EDT 2024. Contains 375059 sequences. (Running on oeis4.)