login
This site is supported by donations to The OEIS Foundation.

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117512 Triangular numbers for which the sum of the digits is a prime number. 0

%I

%S 3,21,120,210,300,496,595,946,1378,1891,2278,2485,2926,3655,3916,4186,

%T 4465,4753,5356,5671,6328,6670,7381,7750,8128,8515,8911,9316,9730,

%U 10011,10585,11476,11935,12880,13366,13861,14365,15931,16471,18145,18721

%N Triangular numbers for which the sum of the digits is a prime number.

%e 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.

%t With[{trnos=Accumulate[Range[200]]},Select[trnos,PrimeQ[Total[IntegerDigits[#]]]&]] (* _Harvey P. Dale_, Feb 14 2011 *)

%Y Cf. A000217.

%K nonn,base

%O 1,1

%A Luc Stevens (lms022(AT)yahoo.com), Apr 26 2006

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

Content is available under The OEIS End-User License Agreement .

Last modified September 23 04:28 EDT 2014. Contains 247089 sequences.