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!)
A218559 Sum_{i=0..n-1} i*(n^(i+1)-1)/(n-1)*n^(i(i+1)/2). 1
0, 6, 714, 1047188, 30515132780, 21936856591278330, 459986443452971306412268, 324518550895166392891543292552264, 8727963565271662417355532872177263437534624, 9999999999888888888777777776666666555555444443333222110 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Largest number which can be written in base n using d+1 times the digit d, d=0,...,n-1. (Or: such that for each k=1,...,n, some digit is used exactly k times.)
LINKS
EXAMPLE
Written in the respective bases, a(2) = 6 = 110[2], a(3) = 714 = 222110[3], a(4) = 1047188 = 33322110[4], etc.
PROG
(PARI) a(b)=sum(i=1, b-1, (b^(i+1)-1)\(b-1)*b^(i*(i+1)\2)*i)
CROSSREFS
Sequence in context: A289366 A253120 A354250 * A201391 A289367 A014525
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Nov 02 2012
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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)