OFFSET
0,1
COMMENTS
These numbers can be written as the sum of two relatively prime squares and also as the sum of two relatively prime cubes (i.e., 2^(6*n) + 1 = (2^(3*n))^2 + 1^2 = (2^(2*n))^3 + 1^3).
LINKS
FORMULA
EXAMPLE
a(2) = 64^2 + 1 = 4097.
MATHEMATICA
Table[64^n + 1, {n, 0, 15}]
LinearRecurrence[{65, -64}, {2, 65}, 20] (* Harvey P. Dale, Jul 17 2020 *)
PROG
(Magma) [64^n+1 : n in [0..15]]
(PARI) for(n=0, 15, print1(64^n+1, ", "))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Arkadiusz Wesolowski, Aug 09 2013
STATUS
approved