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!)
A226238 a(n) = (n^n - n)/(n - 1). 3
2, 12, 84, 780, 9330, 137256, 2396744, 48427560, 1111111110, 28531167060, 810554586204, 25239592216020, 854769755812154, 31278135027204240, 1229782938247303440, 51702516367896047760, 2314494592664502210318, 109912203092239643840220 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,1

COMMENTS

a(n) expressed in base n is written with (n-1) ones followed by a zero. - Michel Marcus, Aug 25 2013

LINKS

Table of n, a(n) for n=2..19.

FORMULA

a(n) = Sum_{k=1..n-1} n^k.

a(n) = A023037(n) - 1, for n>1. - Michel Marcus, Aug 25 2013

PROG

(PARI) a(n)=(n^n-n)/(n-1)

CROSSREFS

A diagonal of A228275.

Sequence in context: A235351 A052887 A052867 * A179495 A348765 A208977

Adjacent sequences: A226235 A226236 A226237 * A226239 A226240 A226241

KEYWORD

nonn

AUTHOR

Ralf Stephan, Aug 25 2013

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 February 8 00:00 EST 2023. Contains 360133 sequences. (Running on oeis4.)