OFFSET
1,1
COMMENTS
a(n) = 14641 for n >= 7.
REFERENCES
GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See pages 108 and 300.
LINKS
FORMULA
G.f.: x*(400*x^6 + 5100*x^5 + 1160*x^4 + 78810*x^3 + 909890*x^2 + 1111111110101110*x - 1111111111111111)/(x - 1). - Chai Wah Wu, Apr 23 2023
EXAMPLE
For n=2, 3^4 = 81 = 1010001 in base 2.
MATHEMATICA
PadRight[{1111111111111111, 1010001, 100111, 21301, 20141, 15041}, 50, 14641] (* Paolo Xausa, May 28 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Apr 22 2023
STATUS
approved