login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135101 Digital sum (base the n-th prime) of n^n. 1
1, 2, 3, 10, 15, 24, 55, 46, 71, 116, 101, 180, 213, 196, 205, 276, 307, 444, 337, 610, 621, 646, 687, 808, 985, 876, 921, 996, 1049, 1184, 1417, 1576, 1665, 1576, 2127, 1836, 2377, 1660, 2201, 2088, 2731, 2844, 2847, 2944, 3317, 3232, 3503, 3294, 3165 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

FORMULA

a(n)=ds_prime(n)(n^n), where ds_prime(n)=digital sum base the n-th prime.

a(n)=n^n-(prime(n)-1)*sum{k>0, floor(n^n/prime(n)^k)}.

EXAMPLE

a(2)=ds_prime(2)(2^2)=ds_3(4)=1+1=2; a(10)=ds_prime(5)(5^5)=ds_11(3125)=2+3+9+1=15.

CROSSREFS

Cf. A000040, A000045, A007953, A054899, A075771, A131451, A133620, A133900, A134599.

Sequence in context: A171126 A194544 A075770 * A108065 A026336 A027913

Adjacent sequences:  A135098 A135099 A135100 * A135102 A135103 A135104

KEYWORD

nonn,base

AUTHOR

Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Dec 24 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 13:46 EST 2012. Contains 205807 sequences.