login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Expressed in base n, the number (n+1)^n.
0

%I #17 Jun 19 2015 16:30:48

%S 1001,2101,21301,222101,2304401,23553101,244153501,2520607101,

%T 25937424601,267120945101

%N Expressed in base n, the number (n+1)^n.

%C a(12) cannot be represented in base 12 using only the digits 0, 1, ..., 9.

%e For n=2, (n+1)^n is 9 and 9 = 1001_2.

%t Table[FromDigits@ IntegerDigits[(n + 1)^n, n], {n, 2, 11}] (* _Michael De Vlieger_, Jun 19 2015 *)

%o (PARI) a(n) = subst(Pol(digits((n+1)^n, n)), x, 10); \\ _Michel Marcus_, Jun 18 2015

%K nonn,base

%O 2,1

%A _Anders Wallberg_, Jun 18 2015