[go: up one dir, main page]

login
A362445
a(n) = (n+1)^4 written in base n.
0
1111111111111111, 1010001, 100111, 21301, 20141, 15041, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641, 14641
OFFSET
1,1
COMMENTS
a(n) = 14641 for n >= 7.
REFERENCES
GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See pages 108 and 300.
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
Sequence in context: A172607 A235167 A095431 * A282672 A337922 A072719
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Apr 22 2023
STATUS
approved