OFFSET
1,1
COMMENTS
Except for the first term, these numbers are divisible by 3. This follows from the binomial expansion of (9+2)^(2^n)+2 = 9h + 2^(2^n)+2. Now 2^(2^n)+2 can be written as 2*(2^(2^n-1)+1) and 2^(2^n-1)+1 is divisible by 3. This is evident from the identity, a^m+b^m = (a+b)(a^(m-1) - a(m-2)b + ... + b^(m-1)) for odd m and 2^n-1 is odd.
PROG
(PARI) g(a, n) = if(a%2, b=2, b=1); for(x=0, n, y=a^(2^x)+b; print1(y", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Dec 08 2008
STATUS
approved