A117065 Primes that are not the sum of 3 pentagonal numbers.
19, 31, 43, 67, 89, 101, 113, 131, 229, 241, 277, 359, 383, 491, 523, 619, 631, 643, 701, 761, 1321, 1381, 1621, 2221, 2861
Offset: 1
Links
- J. W. Grahl, C code which was used to check for elements of this sequence up to 160,000,000.
- R. K. Guy, Every number is expressible as the sum of how many polygonal numbers?, Amer. Math. Monthly 101 (1994), 169-172.
Programs
-
Mathematica
nn=201; pen=Table[n(3n-1)/2, {n,0,nn-1}]; ps=Prime[Range[PrimePi[pen[[ -1]]]]]; Do[n=pen[[i]]+pen[[j]]+pen[[k]]; If[n<=pen[[ -1]]&&PrimeQ[n], ps=DeleteCases[ps, ?(#==n&)]], {i,nn}, {j,i,nn}, {k,j,nn}]; ps (* _T. D. Noe, Apr 19 2006 *)
Extensions
More terms from T. D. Noe, Apr 19 2006
Mathematica program corrected by Robert Price, Aug 25 2019
Comments