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.

Previous Showing 11-19 of 19 results.

A139205 Numbers k such that (k!-10)/10 is prime.

Original entry on oeis.org

5, 6, 7, 11, 13, 17, 28, 81, 87, 433, 640, 647, 798, 1026, 1216, 1277, 3825, 6684
Offset: 1

Views

Author

Artur Jasinski, Apr 11 2008

Keywords

Comments

a(19) > 25000. - Robert Price, Dec 23 2016

Crossrefs

Programs

  • Mathematica
    a = {}; Do[If[PrimeQ[(n! - 10)/10], Print[a]; AppendTo[a, n]], {n, 1, 300}]; a (*Artur Jasinski*)
    Select[Range[700],PrimeQ[(#!-10)/10]&] (* Harvey P. Dale, Feb 15 2015 *)

Extensions

One additional term (a(12)) from Harvey P. Dale, Feb 15 2015
More terms from Serge Batalov, Feb 18 2015
a(18) from Robert Price, Dec 23 2016

A151913 Numbers n for which (8+n!)/8 is prime.

Original entry on oeis.org

7, 9, 10, 12, 14, 20, 23, 24, 29, 44, 108, 2049, 3072, 4862, 8807, 15089
Offset: 1

Views

Author

Artur Jasinski, Apr 07 2008

Keywords

Comments

a(17) > 25000. - Robert Price, Dec 20 2016

Crossrefs

For primes of the form (8+k!!)/8 see A139066.
Cf. n!/m-1 is a prime: A002982, A082671, A139056, A139199-A139205; n!/m+1 is a prime: A002981, A082672, A089085, A139061, A139058, A139063, A139065, A151913, A137390, A139071 (1<=m<=10).

Programs

  • Mathematica
    a = {}; Do[If[PrimeQ[(n! + 8)/8], AppendTo[a, n]], {n, 1, 500}]; a
  • PARI
    is(n)=n>6 && isprime((8+n!)/8) \\ Charles R Greathouse IV, Apr 29 2016

Extensions

Definition corrected Feb 24 2010
More terms from Serge Batalov, Feb 18 2015
a(15)-a(16) from Robert Price, Dec 20 2016

A076680 Numbers k such that 4*k! + 1 is prime.

Original entry on oeis.org

0, 1, 4, 7, 8, 9, 13, 16, 28, 54, 86, 129, 190, 351, 466, 697, 938, 1510, 2748, 2878, 3396, 4057, 4384, 5534, 7069, 10364
Offset: 1

Views

Author

Phillip L. Poplin (plpoplin(AT)bellsouth.net), Oct 25 2002

Keywords

Comments

a(25) > 6311. - Jinyuan Wang, Feb 06 2020

Examples

			k = 7 is a term because 4*7! + 1 = 20161 is prime.
		

Crossrefs

Cf. m*n!-1 is a prime: A076133, A076134, A099350, A099351, A180627-A180631.
Cf. m*n!+1 is a prime: A051915, A076679-A076683, A178488, A180626, A126896.
Cf. n!/m-1 is a prime: A002982, A082671, A139056, A139199-A139205.

Programs

  • Mathematica
    Select[Range[5000],PrimeQ[4#!+1]&] (* Harvey P. Dale, Mar 23 2011 *)
  • PARI
    is(k) = ispseudoprime(4*k!+1); \\ Jinyuan Wang, Feb 06 2020

Extensions

Corrected (added missed terms 2748, 2878) by Serge Batalov, Feb 24 2015
a(24) from Jinyuan Wang, Feb 06 2020
a(25)-a(26) from Michael S. Branicky, Jul 04 2024

A139200 Numbers k such that (k!-5)/5 is prime.

Original entry on oeis.org

5, 11, 12, 16, 36, 41, 42, 47, 127, 136, 356, 829, 1863, 2065, 2702, 4509, 7498
Offset: 1

Views

Author

Artur Jasinski, Apr 11 2008

Keywords

Comments

a(16) > 3000. - Ray G. Opao, Oct 05 2008
a(18) > 25000. - Robert Price, Nov 20 2016

Crossrefs

Programs

  • Magma
    [n: n in [5..500] | IsPrime((Factorial(n)-5) div 5)]; // Vincenzo Librandi, Nov 21 2016
  • Mathematica
    a = {}; Do[If[PrimeQ[(n! - 5)/5], Print[a]; AppendTo[a, n]], {n, 1, 300}]; a (* Artur Jasinski *)

Extensions

a(13)-a(15) from Ray G. Opao, Oct 05 2008
a(16) from Serge Batalov, Feb 18 2015
a(17) from Robert Price, Nov 20 2016

A139201 Numbers k such that (k!-6)/6 is prime.

Original entry on oeis.org

4, 5, 7, 8, 11, 14, 16, 17, 18, 20, 43, 50, 55, 59, 171, 461, 859, 2830, 3818, 5421, 5593, 10118, 10880, 24350
Offset: 1

Views

Author

Artur Jasinski, Apr 11 2008

Keywords

Comments

a(25) > 25000. - Robert Price, Dec 15 2016

Crossrefs

Programs

  • Maple
    a:=proc(n) if isprime((1/6)*factorial(n)-1)=true then n else end if end proc: seq(a(n),n=4..500); # Emeric Deutsch, Apr 29 2008
  • Mathematica
    a = {}; Do[If[PrimeQ[(n! - 6)/6], Print[a]; AppendTo[a, n]], {n, 1, 300}]; a (* Artur Jasinski *)

Extensions

2 more terms from Emeric Deutsch, Apr 29 2008
More terms from Serge Batalov, Feb 18 2015
a(22)-a(24) from Robert Price, Dec 15 2016

A139202 Numbers k such that (k!-7)/7 is prime.

Original entry on oeis.org

7, 9, 20, 23, 46, 54, 57, 71, 85, 387, 396, 606, 1121, 2484, 6786, 9321, 11881, 18372
Offset: 1

Views

Author

Artur Jasinski, Apr 11 2008

Keywords

Comments

a(19) > 25000. - Robert Price, Nov 05 2016

Crossrefs

Programs

  • Mathematica
    a = {}; Do[If[PrimeQ[(n! - 7)/7], Print[a]; AppendTo[a, n]], {n, 1, 300}]; a (*Artur Jasinski*)

Extensions

More terms from Alexis Olson (AlexisOlson(AT)gmail.com), Nov 14 2008
a(13)-a(14) PRPs from Sean A. Irvine, Aug 05 2010
a(15)-a(18) PRP from Robert Price, Nov 05 2016

A139203 Numbers k such that (k!-8)/8 is prime.

Original entry on oeis.org

4, 6, 8, 10, 11, 16, 19, 47, 66, 183, 376, 507, 1081, 1204, 12111, 23181
Offset: 1

Views

Author

Artur Jasinski, Apr 11 2008

Keywords

Comments

a(17) > 25000. - Robert Price, Oct 08 2016

Crossrefs

Programs

  • Maple
    a:=proc(n) if isprime((1/8)*factorial(n)-1)=true then n else end if end proc: seq(a(n),n=4..550); # Emeric Deutsch, May 07 2008
  • Mathematica
    a = {}; Do[If[PrimeQ[(n! - 8)/8], Print[a]; AppendTo[a, n]], {n, 1, 300}]; a

Extensions

2 more terms from Emeric Deutsch, May 07 2008
More terms from Serge Batalov, Feb 18 2015
a(15)-a(16) from Robert Price, Oct 08 2016

A139204 Numbers k such that (k!-9)/9 is prime.

Original entry on oeis.org

6, 15, 17, 18, 21, 27, 29, 30, 37, 47, 50, 64, 125, 251, 602, 611, 1184, 1468, 5570, 10679, 15798, 21237
Offset: 1

Views

Author

Artur Jasinski, Apr 11 2008

Keywords

Comments

a(20) > 10000. The PFGW program has been used to certify all the terms up to a(19), using a deterministic test which exploits the factorization of a(n) + 1. - Giovanni Resta, Mar 28 2014
a(23) > 25000. - Robert Price, Mar 29 2017

Crossrefs

Programs

  • Mathematica
    a = {}; Do[If[PrimeQ[(n! - 9)/9], Print[a]; AppendTo[a, n]], {n, 1, 300}]; a
  • PARI
    for(n=1,1000,if(floor(n!/9-1)==n!/9-1,if(ispseudoprime(n!/9-1),print(n)))) \\ Derek Orr, Mar 28 2014

Extensions

a(14)-a(16) from Derek Orr, Mar 28 2014
a(17)-a(19) from Giovanni Resta, Mar 28 2014
a(20)-a(22) from Robert Price, Mar 29 2017

A290116 Primes of the form k! / 2 - 1.

Original entry on oeis.org

2, 11, 59, 359, 181439, 4111419327088961408862781439999999, 16726263306581903554085031026720375832575999999999
Offset: 1

Views

Author

Robert Price, Jul 19 2017

Keywords

Examples

			6! / 2 - 1 = 359, which is prime, so 359 is in the sequence.
7! / 2 - 1 = 2519 = 11 * 229, so 2519 is not in the sequence.
		

Crossrefs

Programs

  • Mathematica
    Select[Table[k! / 2 - 1, {k, 2, 100}], PrimeQ[#]&]

Formula

a = (A082671(n)!-2)/2.
Previous Showing 11-19 of 19 results.