OFFSET
1,1
COMMENTS
The odd terms of A212502.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
t[n_]:=Which[Mod[n, 4]==3, n+1, Mod[n, 4]==1, n-1, True, n]; Select[1+ Range[1000], Mod[#, 2]==1&&! PrimeQ[#] && Im[PowerMod[1 + 2I, t[#], #]] == 0 &]
CROSSREFS
KEYWORD
nonn
AUTHOR
José María Grau Ribas, Jun 09 2012
STATUS
approved