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.

Showing 1-4 of 4 results.

A155846 Primes of the form 2^p-p*q where p is prime,q=5.

Original entry on oeis.org

-7, 7, 1993, 130987, 536870767, 9007199254740727
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    q=5;lst={};Do[p=Prime[n];If[PrimeQ[p=2^p-p*q],AppendTo[lst,p]],{n,5!}];lst
    Select[Table[2^p-5p,{p,Prime[Range[50]]}],PrimeQ] (* Harvey P. Dale, Jul 02 2018 *)

A155847 Primes of the form 2^p-p*q where p is prime,q=7.

Original entry on oeis.org

-13, -3, 79, 8101
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    q=7;lst={};Do[p=Prime[n];If[PrimeQ[p=2^p-p*q],AppendTo[lst,p]],{n,5!}];lst

A155848 Primes of the form 2^p-p*q where p is prime, q=9.

Original entry on oeis.org

-19, -13, 1949, 2535301200456458802993406409843
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    q=9;lst={};Do[p=Prime[n];If[PrimeQ[p=2^p-p*q],AppendTo[lst,p]],{n,5!}];lst
    Select[2^#-9#&/@Prime[Range[50]],PrimeQ] (* Harvey P. Dale, Aug 26 2014 *)

A155849 Primes of the form 2^p-p*q where p is prime,q=15.

Original entry on oeis.org

-37, -43, 23, 130817, 2535301200456458802993406409237, 36499524940977561749129372845602330599145828057988479444633540143194201337669419092047302490538971198229138476588755258485509637771003503986021290557777713506015957394882119600662993537972820563
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    q=15;lst={};Do[p=Prime[n];If[PrimeQ[p=2^p-p*q],AppendTo[lst,p]],{n,5!}];lst
Showing 1-4 of 4 results.