login
A352375
Sum of digits of A007618.
0
5, 1, 2, 4, 8, 7, 5, 10, 11, 13, 8, 16, 14, 10, 11, 4, 8, 7, 14, 10, 11, 13, 17, 7, 5, 10, 11, 13, 8, 16, 14, 19, 11, 13, 8, 16, 14, 19, 20, 13, 8, 16, 14, 19, 20, 13, 8, 16, 14, 19, 20, 22, 8, 16, 14, 19, 20, 22, 17, 16, 14, 19, 20, 13, 17, 16, 14, 19, 20, 13
OFFSET
1,1
REFERENCES
D. R. Kaprekar, Puzzles of the Self-Numbers. 311 Devlali Camp, Devlali, India, 1959.
LINKS
D. R. Kaprekar, The Mathematics of the New Self Numbers, 1963. [annotated and scanned]
FORMULA
a(n) = A007953(A007618(n)).
a(n) = A007618(n+1)-A007618(n). - Chai Wah Wu, Mar 29 2022
PROG
(PARI) lista(nn) = my(s, x=5); for(n=1, nn, print1(s=sumdigits(x), ", "); x+=s); \\ Jinyuan Wang, Mar 22 2022
(Python)
from itertools import islice
def A352375_gen(): # generator of terms
a = 5
while True:
yield (s := sum(int(d) for d in str(a)))
a += s
A352375_list = list(islice(A352375_gen(), 20)) # Chai Wah Wu, Mar 29 2022
CROSSREFS
Sequence in context: A093316 A085758 A154529 * A157823 A159703 A059521
KEYWORD
nonn,base
AUTHOR
Mateusz Pasternak, Mar 14 2022
EXTENSIONS
More terms from Jinyuan Wang, Mar 22 2022
STATUS
approved