OFFSET
3,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 3..468
FORMULA
MAPLE
A166743 := proc(n) p := ithprime(n) ; (2^p-p^2-1)/6 ; end: seq(A166743(n), n=3..20) ; # R. J. Mathar, Oct 25 2009
MATHEMATICA
Table[(2^p-p^2-1)/6, {p, Prime[Range[3, 20]]}] (* Harvey P. Dale, May 16 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Tanin (Mirza Sabbir Hossain Beg) (mirzasabbirhossainbeg(AT)yahoo.com), Oct 21 2009
EXTENSIONS
Missing exponentiation signs inserted in the definition by R. J. Mathar, Oct 25 2009
Corrected by D. S. McNeil, Aug 20 2010
STATUS
approved