OFFSET
0,1
COMMENTS
Half the numbers of the proper form are divisible by 3 and thus excluded.
For 2^n-1, n must be odd to be in this sequence.
For 2^n+1, n must be even to be in this sequence.
REFERENCES
Oystein Ore, Number Theory and Its History, McGraw-Hill, 1948, reprinted 1988, section 4-7, pp 69-75.
LINKS
EXAMPLE
31 = 2^5-1 is prime and thus not a member of the sequence.
65 = 2^6+1 has 2 proper divisors, 5 and 13, thus is a(0) in the sequence.
MATHEMATICA
t = 2^Range[50]; u = Union[t - 1, t + 1]; Select[u, # > 1 && Mod[#, 3] != 0 && ! PrimeQ[#] &] (* T. D. Noe, Feb 26 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Walter Nissen, Feb 25 2013
STATUS
approved