cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A051351 a(n) = a(n-1) + sum of digits of n-th prime.

This page as a plain text file.
%I A051351 #6 Aug 28 2023 14:34:22
%S A051351 0,2,5,10,17,19,23,31,41,46,57,61,71,76,83,94,102,116,123,136,144,154,
%T A051351 170,181,198,214,216,220,228,238,243,253,258,269,282,296,303,316,326,
%U A051351 340,351,368,378,389,402,419,438,442,449,460,473,481,495,502,510,524
%N A051351 a(n) = a(n-1) + sum of digits of n-th prime.
%t A051351 Table[ Sum[ Apply[ Plus, RealDigits[ Prime[ j ]] [[1]] ], {j, 1, n} ], {n, 1, 100} ]
%o A051351 (PARI) a(n) = vecsum(apply(sumdigits, primes(n))); \\ _Michel Marcus_, Aug 28 2023
%Y A051351 Cf. A007605.
%K A051351 nonn,easy,base
%O A051351 0,2
%A A051351 Armand Turpel (armandt(AT)unforgettable.com)
%E A051351 More terms from _Robert G. Wilson v_, Nov 18 2000