|
|
A117962
|
|
Partial sums of hexagonal numbers with prime indices.
|
|
2
|
|
|
6, 21, 66, 157, 388, 713, 1274, 1977, 3012, 4665, 6556, 9257, 12578, 16233, 20604, 26169, 33072, 40453, 49364, 59375, 69960, 82363, 96058, 111811, 130532, 150833, 171948, 194739, 218392, 243817, 275948, 310139, 347540, 386043, 430296, 475747
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
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.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(4) = hexagonal(2) + hexagonal(3) + hexagonal(5) + hexagonal(7) = 6 + 15 + 45 + 91 = 157 is prime.
a(12) = 6 + 15 + 45 + 91 + 231 + 325 + 561 + 703 + 1035 + 1653 + 1891 + 2701 = 9257 is prime.
a(26) = 150833 is prime.
|
|
MATHEMATICA
|
Accumulate[Table[n(2n-1), {n, Prime[Range[50]]}]] (* Harvey P. Dale, Jan 30 2014 *)
|
|
CROSSREFS
|
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). A117961 Hexagonal numbers with prime indices. A117965 Prime partial sums of hexagonal numbers with prime indices.
|
|
KEYWORD
|
easy,nonn,less
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|