login
A396641
Centered hexagonal numbers h such that 7*h is also a centered hexagonal number.
1
1, 217, 55081, 13990321, 3553486417, 902571559561, 229249622642041, 58228501579518817, 14789810151575137441, 3756553549998505391161, 954149811889468794217417, 242350295666375075225832721, 61556020949447379638567293681, 15634986970863968053120866762217, 3971225134578498438113061590309401
OFFSET
1,2
FORMULA
a(n) = (6*A253880(n) + 1) / 7.
EXAMPLE
217 is in this sequence since both 217 and 217*7=1519 are centered hexagonal numbers.
MATHEMATICA
(6 NestList[({{0, 1}, {-1, 254}}.#) &, {1, 253}, 14][[;; , 1]] + 1)/7
CROSSREFS
Sequence in context: A086026 A375816 A100794 * A048258 A373762 A013541
KEYWORD
nonn,easy
AUTHOR
Steven Lu, May 31 2026
STATUS
approved