login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A116010
n+prime(n)+prime(prime(n)) is a triangular number, where prime(n) is the n-th prime.
2
1, 2, 4, 210, 381, 573, 1009, 1094, 1117, 2139, 3123, 4471, 6459, 7197, 12534, 13177, 13335, 13603, 14178, 19479, 21512, 23427, 31833, 35965, 37924, 38446, 39726, 55375, 58851, 59232, 61015, 63849, 64344, 70471, 75616, 76770, 79590
OFFSET
1,2
LINKS
EXAMPLE
1009+prime(1009)+prime(prime(1009))=T(426).
MATHEMATICA
Select[Range[80000], OddQ[Sqrt[1+8(#+Prime[#]+Prime[Prime[#]])]]&] (* Harvey P. Dale, Aug 11 2019 *)
PROG
(PARI) isok(n) = ispolygonal(n + prime(n) + prime(prime(n)), 3); \\ Michel Marcus, Jan 27 2014
CROSSREFS
Cf. A116011.
Sequence in context: A009796 A018651 A068479 * A018677 A173637 A111355
KEYWORD
nonn
AUTHOR
Giovanni Resta, Feb 13 2006
STATUS
approved