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”).

A117512
Triangular numbers for which the sum of the digits is a prime number.
0
3, 21, 120, 210, 300, 496, 595, 946, 1378, 1891, 2278, 2485, 2926, 3655, 3916, 4186, 4465, 4753, 5356, 5671, 6328, 6670, 7381, 7750, 8128, 8515, 8911, 9316, 9730, 10011, 10585, 11476, 11935, 12880, 13366, 13861, 14365, 15931, 16471, 18145, 18721
OFFSET
1,1
EXAMPLE
595 is in the sequence because (1) it is a triangular number and (2) the sum of its digits 5+9+5=19 is a prime number.
MATHEMATICA
With[{trnos=Accumulate[Range[200]]}, Select[trnos, PrimeQ[Total[IntegerDigits[#]]]&]] (* Harvey P. Dale, Feb 14 2011 *)
CROSSREFS
Cf. A000217.
Sequence in context: A046727 A084159 A283421 * A068127 A247247 A322185
KEYWORD
nonn,base
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 26 2006
STATUS
approved