OFFSET
0,2
COMMENTS
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..500
FORMULA
a(n) = (b(n)^3 + 1)/7^n, n>=0, with b(n):=A210852(n) given by a recurrence. See also a Maple program for b(n) there.
EXAMPLE
a(0) = 1/1 = 1.
a(3) = (325^3 + 1)/7^3 = 34328126/343 = 100082, (b(3) = 31^7 (mod 7^3) = 325).
MATHEMATICA
Join[{1}, MapIndexed[(#^3 + 1)/7^#2[[1]] &, FoldList[PowerMod[#, 7, 7^#2] &, 3, Range[2, 20]]]] (* Paolo Xausa, Jan 14 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, May 02 2012
STATUS
approved