login
A051350
Sum of digit-sums of first n nonprimes.
0
0, 1, 5, 11, 19, 28, 29, 32, 37, 43, 50, 59, 61, 64, 68, 74, 81, 89, 98, 108, 111, 116, 122, 129, 137, 146, 157, 169, 173, 179, 187, 196, 206, 218, 231, 236, 242, 249, 258, 268, 279, 291, 304, 310, 318, 327, 337, 348, 360, 374, 389
OFFSET
0,3
MATHEMATICA
Accumulate[Total[IntegerDigits[#]]&/@Select[Range[0, 80], !PrimeQ[#]&]] (* Harvey P. Dale, Mar 29 2018 *)
CROSSREFS
Sequence in context: A094693 A183004 A163120 * A088638 A333675 A051349
KEYWORD
nonn,base,easy
AUTHOR
Armand Turpel armandt(AT)unforgettable.com
STATUS
approved