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-3 of 3 results.

A088122 Let f(n,x) = 1 + 2x + 3x^2 + 5x^3 + 7x^4 + ... + prime(n)*x^n; a(n) = smallest prime f(n,x), or 0 if no such prime exists.

Original entry on oeis.org

3, 17, 11, 10273, 29, 702337, 59, 358218449, 101, 144343444402281177689, 13269388801, 93810335233, 239, 1305289, 214201115363366099, 7339592775850735791497954599833793, 809672944130045028361241, 6177516768446306373088541231324219761, 569
Offset: 1

Views

Author

Amarnath Murthy, Sep 25 2003

Keywords

Examples

			a(4) = 10273. For x = 1,2,3,4,5 f(4,x) is composite. f(4,6) = 10273.
		

Crossrefs

Cf. A088123.

Extensions

More terms from Tom Mueller, May 04 2004

A088125 Let f(n,x) = 1 + 4*x + 6*x^2 + 8*x^3 + 9*x^4 + ... + composite(n)*x^n; a(n) = smallest x such that f(n,x) is a prime, or 0 if no such prime exists.

Original entry on oeis.org

1, 1, 1, 2, 6, 34, 2, 1, 3, 1, 11, 42, 120, 12, 8, 1, 4, 2, 24, 86, 1, 54, 154, 202, 246, 25, 10, 60, 1, 114, 34, 22, 21, 1, 88, 14, 276, 70, 795, 518, 448, 252, 6, 2, 1, 18, 768, 124, 1, 186, 143, 1, 138, 456, 366, 19, 47, 112, 336, 772, 140, 3, 88, 30, 188, 90, 437, 90, 294
Offset: 1

Views

Author

Amarnath Murthy, Sep 25 2003

Keywords

Comments

According to Bunyakovsky's conjecture, if f(n,X) is irreducible over the rationals, f(n,x) is prime for infinitely many positive integers x. It is irreducible for 1 <= n <= 1800. - Robert Israel, Jul 01 2018

Crossrefs

Cf. A060697 (n for which a(n)=1).

Programs

  • Maple
    P:= 1: q:= 1:
    for n from 1 to 100 do
      q:= q+1;
      while isprime(q) do q:= q+1 od;
      P:= P + q*x^n;
      if not irreduc(P) then A[n]:= 0
      else
        Pf:= unapply(P,x);
        for xx from 1 while not isprime(Pf(xx)) do od:
        A[n]:= xx;
      fi
    od:
    seq(A[n],n=1..100); # Robert Israel, Jul 01 2018

Extensions

More terms from Tom Mueller (muel4503(AT)uni-trier.de), May 04 2004
More terms from David Wasserman, Jul 25 2005

A088124 Let f(n,x) = 1 + 4x + 6x^2 + 8x^3 + 9x^4 + ... + composite(n)*x^n; a(n)= smallest prime f(n,x), or 0 if no such prime exists.

Original entry on oeis.org

5, 11, 19, 241, 91393, 19004355761, 3121, 79, 456151, 113, 6214345434133, 647380324484508990481, 23727240537882663031640150881, 33371196003273361, 998893713465761, 251, 610748560241, 14136113, 5228581733308860742493949409
Offset: 1

Views

Author

Amarnath Murthy, Sep 25 2003

Keywords

Crossrefs

Extensions

More terms from Tom Mueller (muel4503(AT)uni-trier.de), May 04 2004
Showing 1-3 of 3 results.