cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A154302 Primes of the form (1+2+...+m)/87 = A000217(m)/87.

Original entry on oeis.org

5, 19, 43, 173
Offset: 1

Views

Author

Keywords

Comments

Original definition: "Primes of the form : 1/x+2/x+3/x+4/x+5/x+6/x+7/x+..., x=87."
The corresponding m-values are m=29,57,86,173. It is clear that for m>2*87, T(m)/87 = m(m+1)/174 cannot be a prime, since then each factor in the numerator is larger than the denominator. See A154304 for further comments and PARI code. - M. F. Hasler, Jan 06 2013

Crossrefs

Programs

  • Mathematica
    lst={};s=0;Do[s+=n/87;If[Floor[s]==s,If[PrimeQ[s],AppendTo[lst,s]]],{n,0,4*9!}];lst
  • PARI
    d=87*2;for(m=1,999,(m^2+m)%d==0&isprime((m^2+m)/d)&print1(m",")) \\ print the m-values(!) - use A154304(87) to get A154302 as a vector. \\ - M. F. Hasler, Jan 06 2013

Extensions

Edited by M. F. Hasler, Jan 06 2013