|
|
A034953
|
|
Triangular numbers (A000217) with prime indices.
|
|
50
|
|
|
3, 6, 15, 28, 66, 91, 153, 190, 276, 435, 496, 703, 861, 946, 1128, 1431, 1770, 1891, 2278, 2556, 2701, 3160, 3486, 4005, 4753, 5151, 5356, 5778, 5995, 6441, 8128, 8646, 9453, 9730, 11175, 11476, 12403, 13366, 14028, 15051, 16110, 16471, 18336, 18721, 19503
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The following sequences (allowing offset of first term) all appear to have the same parity: A034953, triangular numbers with prime indices; A054269, length of period of continued fraction for sqrt(p), p prime; A082749, difference between the sum of next prime(n) natural numbers and the sum of next n primes; A006254, numbers n such that 2n-1 is prime; A067076, 2n+3 is a prime. - Jeremy Gardiner, Sep 10 2004
Given a rectangular prism with sides 1, p, p^2 for p = n-th prime (n > 1), the area of the six sides divided by the volume gives a remainder which is 4*a(n). - J. M. Bergot, Sep 12 2011
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
a:= n-> (p-> p*(p+1)/2)(ithprime(n)):
|
|
MATHEMATICA
|
With[{nn=200}, Pick[Accumulate[Range[nn]], Table[If[PrimeQ[n], 1, 0], {n, nn}], 1]] (* Harvey P. Dale, Mar 05 2023 *)
|
|
PROG
|
(Haskell)
a034953 n = a034953_list !! (n-1)
a034953_list = map a000217 a000040_list
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|