login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138908
a(n) = d^d, where d is the number of digits in n.
3
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27
OFFSET
0,11
FORMULA
From Amiram Eldar, Nov 18 2020: (Start)
a(n) = A055642(n)^A055642(n).
Sum_{n>=1} 1/a(n) = A308314. (End)
MATHEMATICA
dd[n_]:=Module[{d=IntegerLength[n]}, d^d]; Join[{1}, Array[dd, 150]] (* Harvey P. Dale, Mar 16 2013 *)
PROG
(PARI) a(n) = my(d=#Str(n)); d^d; \\ Michel Marcus, Nov 18 2020
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Odimar Fabeny, May 16 2008
EXTENSIONS
Edited by N. J. A. Sloane, Sep 29 2011, at the suggestion of Franklin T. Adams-Watters
STATUS
approved