login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A034954 Odd triangular numbers with prime indices. 3
3, 15, 91, 153, 435, 703, 861, 1431, 1891, 2701, 4005, 4753, 5151, 5995, 6441, 9453, 11175, 12403, 15051, 16471, 18721, 19503, 26335, 27261, 29161, 33153, 36315, 38503, 39621, 43071, 49141, 50403, 56953, 61075, 62481, 69751, 75855, 79003 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For prime indices p such that p(p+1)/2 is 'odd' see A002313 (primes of form 4n+1).
LINKS
Eric Weisstein's World of Mathematics, Triangular Number
FORMULA
a(n) = A000217(A002313(n)). - Michel Marcus, Nov 04 2017
MATHEMATICA
Select[Table[Prime[n] (Prime[n] + 1)/2, {n, 500}], OddQ[#] &] (* G. C. Greubel, Nov 03 2017 *)
With[{nn=400}, Select[Thread[{Accumulate[Range[nn]], Range[nn]}], OddQ[ #[[1]]] && PrimeQ[#[[2]]]&]][[All, 1]] (* Harvey P. Dale, Mar 06 2019 *)
CROSSREFS
Sequence in context: A024339 A319950 A336743 * A077783 A347319 A047019
KEYWORD
nonn
AUTHOR
Patrick De Geest, Oct 15 1998
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 26 11:45 EDT 2024. Contains 373718 sequences. (Running on oeis4.)