OFFSET
1,1
COMMENTS
Subsequence of primes: 3, 11, 19, 37, 43, 59, 101, 197, 229, 263, ...
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(6) = 19 = 2 *2^3 + 3.
MAPLE
N:= 1000: # to get all terms <= N
sort([seq(seq(k*2^n+n, k=1..min(2^n-1, (N-n)/2^n)), n=1..ilog2(N))]); # Robert Israel, Jan 21 2019
MATHEMATICA
seqUpTo[n_] := Select[Union@Flatten@Table[k*2^h + h, {h, Floor@Log[2, n]}, {k, Min[2^h - 1, Floor[n/2^h]]}], # <= n &]; seqUpTo[521] (* Giovanni Resta, Jan 08 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Jan 02 2013
STATUS
approved