OFFSET
2,1
COMMENTS
REFERENCES
O. N. Karpenkov, On examples of difference operators ..., Funct. Anal. Other Math., 1 (2006), 175-180. [The function q(n)]
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 2..1000
MAPLE
(First load the b-file for A014664 as the array b1.)
a := proc(i) local p, g; p:=ithprime(i); g:=b1[i-1]; if g mod 2 = 0 then p*(2^(g/2)-1) else 2^g-1; fi; end;
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 24 2008
STATUS
approved