OFFSET
1,1
COMMENTS
All remainders 0,...,9 occur in this sequence.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Enrique Navarrete, Distributions of Sums of Digits of Primes
MATHEMATICA
Mod[DigitSum[Prime[Range[100]]], 10] (* Paolo Xausa, Feb 06 2025 *)
PROG
(PARI) a(n) = sumdigits(prime(n)) % 10; \\ Michel Marcus, Jan 16 2025
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Enrique Navarrete, Jan 15 2025
STATUS
approved
