OFFSET
1,2
COMMENTS
See A256229 for the (maybe more natural) "right-associative" variant, a(xyz)=x^(y^z). a(n) = A256229(n) for n < 212 (up to 210, according to the 2nd formula which also holds for A256229), but (2^1)^2 = 4 while 2^(1^2) = 1. - M. F. Hasler, Mar 22 2015
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = if n < 10 then n else a(floor(n\10))^(n mod 10).
a(A011540(n)) = 1.
a(n) = A133500(n) for n <= 99. - Reinhard Zumkeller, May 27 2013
EXAMPLE
a(253) = (2^5)^3 = 32^3 = 32768.
PROG
(Haskell)
a075877 n = if n < 10 then n else a075877 (n `div` 10) ^ (n `mod` 10)
-- Reinhard Zumkeller, May 27 2013
CROSSREFS
AUTHOR
Reinhard Zumkeller, Oct 16 2002
EXTENSIONS
Formula corrected by Reinhard Zumkeller, May 27 2013
Edited by M. F. Hasler, Mar 22 2015
STATUS
approved