OFFSET
1,3
COMMENTS
a(n) = A035327(p(n)), where p(n) is the n-th prime.
FORMULA
a(n)=2^{1+floor(log[2](p(n)))}-n-1, where p(n) is the n-th prime. - Emeric Deutsch, Oct 19 2008
MAPLE
f:=proc(n) options operator, arrow: 2^(1+floor(log[2](n)))-n-1 end proc: seq(f(ithprime(n)), n=1..71); # Emeric Deutsch, Oct 19 2008
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Leroy Quet, Oct 09 2008
EXTENSIONS
Extended by Emeric Deutsch, Oct 19 2008
STATUS
approved