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!)
A161625 Sum of all numbers from 1 up to the final digit of prime(n). 1
3, 6, 15, 28, 1, 6, 28, 45, 6, 45, 1, 28, 1, 6, 28, 6, 45, 1, 28, 1, 6, 45, 6, 45, 28, 1, 6, 28, 45, 6, 28, 1, 28, 45, 45, 1, 28, 6, 28, 6, 45, 1, 1, 6, 28, 45, 1, 6, 28, 45, 6, 45, 1, 1, 28, 6, 45, 1, 28, 1, 6, 6, 28, 1, 6, 28, 1, 28, 28, 45, 6, 45, 28, 6, 45, 6, 45, 28, 1, 45 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n)= A000217(A007652(n)). - R. J. Mathar, Jun 16 2009
EXAMPLE
a(1)=3=1+2. a(2)=6=1+2+3. a(3)=15=1+2+3+4+5. a(4)=28=1+2+3+4+5+6+7. a(5)=1=1. a(6)=3=1+2.
MAPLE
A007652 := proc(n) ithprime(n) mod 10; end: A000217 := proc(n) n*(n+1)/2 ; end:
A161625 := proc(n) A000217(A007652(n)) ; end: seq(A161625(n), n=1..80) ; # R. J. Mathar, Jun 16 2009
CROSSREFS
Sequence in context: A348378 A000740 A056278 * A234848 A300761 A069712
KEYWORD
nonn,base,less
AUTHOR
EXTENSIONS
Definition reworded and a 16 split in 1,6 by R. J. Mathar, Jun 16 2009
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 19 23:40 EDT 2024. Contains 371798 sequences. (Running on oeis4.)