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!)
A068793 a(n) = Sum_{i=1..n} i*(n^(n-i-1) + n^(n+i-1)). 2
5, 194, 14619, 1831444, 348288905, 94197694758, 34466324363639, 16416600747716168, 9876543210123456789, 7326247444821284733610, 6569987372181208872192659, 7007407167541356868004228892 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
a(n) = A062813(n)*n^(n-1) + A023811(n).
a(n) is a palindrome in base-n representation for all n.
LINKS
FORMULA
a(n) = (n^n*(n^n*(n-2)+2)-n^2+n-1)/(n-1)^2.
EXAMPLE
a(2) = 5 = 101_2;
a(8) = 34466324363639 = 765432101234567_8;
a(10) = 9876543210123456789;
a(16) = 21173125052858393282329502187520773615 = FEDC...876543210123456789ABCDEF_16.
PROG
(Python)
def A068793(n): return ((m:=n**n)*(m*(n-2)+2)-n**2+n-1)//(n-1)**2 # Chai Wah Wu, Mar 18 2024
CROSSREFS
Sequence in context: A198523 A093154 A194572 * A194573 A194574 A194575
KEYWORD
nonn,changed
AUTHOR
Reinhard Zumkeller, Mar 04 2002
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 March 29 02:23 EDT 2024. Contains 371264 sequences. (Running on oeis4.)