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!)
A097708 Sum of prime-length repunits: Sum_{k=1..n} r(prime(k)), where r()=A002275. 1
0, 11, 122, 11233, 1122344, 11112233455, 1122223344566, 11112233334455677, 1122223344445566788, 11112233334455556677899, 11111122223344445566667789010, 1122222233334455556677778900121 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
EXAMPLE
a(3)=11233 because 11 + 111 + 11111 = 11233.
PROG
(PARI) a(n) = sum(k=1, n, (10^prime(k)-1)/9); \\ Michel Marcus, Jul 17 2022
CROSSREFS
Cf. A097709.
Partial sums of A031974.
Sequence in context: A163462 A334000 A041222 * A015499 A039438 A258843
KEYWORD
base,nonn
AUTHOR
Jason Earls, Aug 21 2004
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 April 16 04:17 EDT 2024. Contains 371696 sequences. (Running on oeis4.)