OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..5000
PROG
(Haskell)
toBinary 0 = []
toBinary n = toBinary (n `div` 2) ++ [odd n]
a = [1 + fromJust (findIndex (isPrefixOf (toBinary n)) [toBinary (k ^ n) | k <- [1..]]) | n <- [1..]]
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Vladimir Reshetnikov, May 01 2010
EXTENSIONS
More terms from Seiichi Manyama, Dec 22 2019
STATUS
approved