OFFSET
0,1
COMMENTS
All terms except for a(0)=2 are odd primes >= 5. (3 cannot divide 2^k+3 because 2 = -1 (mod 3).)
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..699
FORMULA
If n=1 (mod 4), then a(n)=5 (since 2^4=1 (mod 5)).
If n=2 (mod 6) (or if n=1 (mod 3) but not (mod 4)), then a(n)=7 (since 2^3=1 (mod 7)).
EXAMPLE
a(0)=2 is the smallest prime factor of 2^0+3 = 4.
a(1)=5 is the smallest prime factor of 2^1+3 = 5.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Sep 09 2009
STATUS
approved