OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
a(4)=6, as 4^6=4096=A073600(4) is the least power of 4 with initial digit =4: 4^2=16, 4^3=64, 4^4=256 and 4^5=1024.
MATHEMATICA
fi[n_] := First[IntegerDigits[n]]; Table[k = 2; While[fi[n^k] != fi[n], k++]; k, {n, 78}] (* Jayanta Basu, Jul 02 2013 *)
PROG
(Haskell)
a073601 n = 2 + length
(takeWhile ((a000030 n /=) . a000030) $ iterate (* n) (n^2))
-- Reinhard Zumkeller, Sep 27 2011
CROSSREFS
KEYWORD
AUTHOR
Reinhard Zumkeller, Aug 04 2002
STATUS
approved