|
Search: id:A115058
|
|
|
| A115058 |
|
Primes p that are also the largest prime factor of p(p^2-1)(3p+2)/24. |
|
+0 3
|
|
| 2, 11, 31, 41, 47, 53, 61, 67, 71, 73, 101, 107, 109, 113, 131, 137, 151, 157, 179, 181, 191, 193, 211, 223, 229, 241, 251, 263, 271, 277, 281, 283, 307, 311, 331, 347, 359, 373, 379, 389, 401, 421, 431, 443, 449, 461, 463, 467, 487, 491, 509, 521, 541, 547
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
REFERENCES
|
Number Theory, George E. Andrews 1971, Dover Publications New York, p 4.
|
|
EXAMPLE
|
p=11, p(p^2-1)(3p+2)/24 = 1925 = 5*5*7*11.
|
|
MATHEMATICA
|
a={}; Do[p=Prime[n]; If[ !PrimeQ[3*p+2], AppendTo[a, p]], {n, 8^2}]; a - Vladimir Orlovsky (4vladimir(AT)gmail.com), Apr 29 2008
|
|
PROGRAM
|
(PARI) g(n) = for(x=0, n, y=x*(x^2-1)*(3*x+2)/24; a=ifactord(y); z=a[length(a)]; if(x==z, print1(x", ") ) ifactord(n) = \The vector of the distinct integer factors of n (without \multiplicity). { local(f, j, k, flist); flist=[]; f=Vec(factor(n)); for(j=1, length(f[1]), flist = concat(flist, f[1][j]) ); return(flist) } )
|
|
CROSSREFS
|
Sequence in context: A023622 A119438 A094005 this_sequence A085041 A121346 A106847
Adjacent sequences: A115055 A115056 A115057 this_sequence A115059 A115060 A115061
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Feb 28 2006
|
|
|
Search completed in 0.002 seconds
|