OFFSET
1,1
COMMENTS
See also: A034953 Triangular numbers (A000217) with prime indices. A001248 Squares of primes. A116995 Pentagonal numbers with prime indices. A000384 Hexagonal numbers: n(2n-1). There are no prime hexagonal numbers. The n-th Hexagonal number A000384(n) = n*(2*n-1) is semiprime iff both n and 2*n-1 are prime iff A000384(n) is an element of A001358 iff n is an element of A005382.
FORMULA
MATHEMATICA
With[{hex=Table[n(2n-1), {n, 250}]}, Flatten[Table[Take[hex, {Prime[n]}], {n, 40}]]] (* Harvey P. Dale, Dec 04 2011 *)
CROSSREFS
KEYWORD
easy,nonn,less
AUTHOR
Jonathan Vos Post, Apr 05 2006
STATUS
approved