# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a115887 Showing 1-1 of 1 %I A115887 #4 Jun 28 2012 12:13:32 %S A115887 1,3,6,10,28,105,120,153,231,465,496,1081,1378,1485,1653,1711,2628, %T A115887 3003,3081,3160,4950,5050,5460,6670,6903,8001,8778,10296,11781,14028, %U A115887 15225,16290,19701,20503,21528,21945,22155,24310,24531,25200,27495 %N A115887 Triangular numbers equal to the difference between a prime number and its index. %H A115887 Harvey P. Dale, Table of n, a(n) for n = 1..500 %e A115887 28=T(7)=p(13)-13. %t A115887 Union[Select[Table[Prime[i]-i,{i,20000}],IntegerQ[Sqrt[8#+1]]&]] (* _Harvey P. Dale_, Jun 28 2012 *) %Y A115887 Cf. A115883. %K A115887 nonn %O A115887 1,2 %A A115887 _Giovanni Resta_, Feb 06 2006 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE