OFFSET
0,1
COMMENTS
These numbers are divisible by 3. This follows by expanding the binomial (6+1)^(2^n) + 2 to get 6h + 1 + 2 for some h. Therefore 3 divides 7^(2^n) + 2.
FORMULA
a(n) = A165425(n+3) + 2. - R. J. Mathar, Sep 10 2016
MAPLE
PROG
(PARI) g(a, n) = if(a%2, b=2, b=1); for(x=0, n, y=a^(2^x)+b; print1(y", "))
(PARI) a(n) = 7^(2^n) + 2; \\ Michel Marcus, Jan 24 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Cino Hilliard, Dec 08 2008
STATUS
approved