The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A075543 a(n) = a(n-1) + digit sum(n + 2) with a(0) = 2. 1
2, 5, 9, 14, 20, 27, 35, 44, 45, 47, 50, 54, 59, 65, 72, 80, 89, 99, 101, 104, 108, 113, 119, 126, 134, 143, 153, 164, 167, 171, 176, 182, 189, 197, 206, 216, 227, 239, 243, 248, 254, 261, 269, 278, 288, 299, 311, 324, 329, 335, 342, 350, 359, 369, 380, 392 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
EXAMPLE
a(1) = a(0) + digit sum(1 + 2) = 2 + 3 = 5.
MATHEMATICA
Block[{k = 2}, NestList[# + DigitSum[++k] &, 2, 100]] (* Paolo Xausa, May 24 2024 *)
PROG
(PARI) c=0; for (n=2, 100, c=c+sumdigits(n); print1(c, ", "))
CROSSREFS
Sequence in context: A132296 A275586 A333449 * A132315 A079509 A132336
KEYWORD
nonn,base,changed
AUTHOR
Jon Perry, Oct 11 2002
EXTENSIONS
Definition corrected by Georg Fischer, May 22 2024
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 June 4 19:35 EDT 2024. Contains 373102 sequences. (Running on oeis4.)