The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A147846 Triangular numbers n*(n+1)/2 with n or n+1 prime. 5
 1, 3, 6, 10, 15, 21, 28, 55, 66, 78, 91, 136, 153, 171, 190, 253, 276, 406, 435, 465, 496, 666, 703, 820, 861, 903, 946, 1081, 1128, 1378, 1431, 1711, 1770, 1830, 1891, 2211, 2278, 2485, 2556, 2628, 2701, 3081, 3160, 3403, 3486, 3916, 4005, 4656, 4753, 5050 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 FORMULA a(n) ~ (n^2 log^2 n)/8. - Charles R Greathouse IV, Jun 03 2013 PROG (PARI) lista(nn) = {for (n=1, nn, if (isprime(n) || isprime(n+1), print1(n*(n+1)/2, ", ")); ); } \\ Michel Marcus, Jun 03 2013 (PARI) print1(1); forprime(p=3, 7, print1(", "p*(p-1)/2", "p*(p+1)/2)) \\ Charles R Greathouse IV, Jun 03 2013 CROSSREFS Cf. A000217. Sequence in context: A066353 A179653 A117520 * A062099 A115650 A025745 Adjacent sequences:  A147843 A147844 A147845 * A147847 A147848 A147849 KEYWORD nonn,easy AUTHOR Giovanni Teofilatto, Nov 15 2008 EXTENSIONS Missing terms 28=7*8/2, 91=13*14/2 etc. inserted by R. J. Mathar, Jan 30 2010 STATUS approved

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

Last modified September 25 23:09 EDT 2021. Contains 347664 sequences. (Running on oeis4.)