OFFSET
1,1
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
The first 3 positive even numbers are 2, 4 and 6; the first 3 multiples of Fermat numbers (the numbers of the form 2^(2^n)+1) are 3, 5 and 6. The third even number is also the third Fermat multiple; thus 3 is in the sequence.
MAPLE
N:= 10^3: # for terms <= N
mm:= floor(fsolve(2^(2^m)+1=2*N)):
FM:= sort(convert({seq(seq(k, k=2^(2^m)+1 .. 2*N, 2^(2^m)+1), m=0..mm)}, list)):
select(t -> FM[t]=2*t, [$1..nops(FM)]); # Robert Israel, Feb 20 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Matthew Vandermast, Feb 16 2003
STATUS
approved
