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

A110932 Numbers k such that 2*k^k + 1 is prime.

Original entry on oeis.org

0, 1, 12, 18, 251, 82992
Offset: 0

Views

Author

Ray G. Opao, Sep 25 2005

Keywords

Comments

As a "list of numbers such that ...", the sequence should have offset 1, but to preserve the validity of formulas referring to this sequence, the offset was set to 0 when the initial value a(0)=0 was added. - M. F. Hasler, Sep 02 2012

Crossrefs

Cf. A110931, A121270 (= primes in A014566), A088790, A160360, A160600.
The primes 2n^n+1, for k<4, n=a(k)<251, are listed at A216148(k) = A216147(a(k)). - M. F. Hasler, Sep 02 2012

Programs

  • Mathematica
    Join[{0}, Select[Range[1000], PrimeQ[2*#^# + 1] &]] (* Robert Price, Mar 27 2019 *)
  • PARI
    is_A110932(n)=ispseudoprime(n^n*2+1) \\ M. F. Hasler, Sep 02 2012

Extensions

a(5) from Serge Batalov, Apr 08 2018

A301520 Numbers k such that 4*k^k + 3 is prime.

Original entry on oeis.org

0, 1, 2, 5, 10, 44, 65, 1424
Offset: 1

Views

Author

Seiichi Manyama, Mar 23 2018

Keywords

Comments

Next term, if it exists, is greater than 5000. - Vaclav Kotesovec, Mar 25 2018
Next term, if it exists, is greater than 25000. - Robert Price, Apr 22 2019

Crossrefs

Programs

  • Mathematica
    Flatten[{0, Select[Range[1000], PrimeQ[4*#^# + 3] &]}] (* Vaclav Kotesovec, Mar 25 2018 *)
  • PARI
    for(n=0, 100, if(isprime(4*n^n+3), print1(n", ")))

Extensions

a(8) from Vaclav Kotesovec, Mar 25 2018

A160600 Numbers k such that 3*(2k)^(2k)+1 is prime.

Original entry on oeis.org

1, 2, 3, 5, 143, 225
Offset: 1

Views

Author

M. F. Hasler, Jul 10 2009

Keywords

Comments

This corresponds to the numbers such that 3m^m+1 is prime, but these must all be even, m=2k, and therefore it is more natural to record the sequence of k=m/2.
Next term > 15000. - Matevz Markovic, Oct 09 2012

Examples

			a(1) = 1, because 2^2*3+1 = 13 is the smallest prime of this form.
a(2) = 2, because 4^4*3+1 = 769 is the next smallest prime of this form. a(3) = 3, because 6^6*3+1 = 139969 is again a prime.
		

Crossrefs

Cf. A160360 (3n^n+2 is prime), A121270 = primes among Sierpinski numbers A014566(n)=n^n+1; A216148 = A216147(A110932): primes 2n^n+1; A088790, A065798.

Programs

  • Maple
    q:= k-> isprime(3*(2*k)^(2*k)+1):
    select(q, [$1..225])[];  # Alois P. Heinz, Aug 04 2025
  • PARI
    for(i=1,9999,ispseudoprime(i^i*3+1)&print1(i/2,","))

A302090 Numbers k such that 6*k^k + 5 is prime.

Original entry on oeis.org

0, 1, 2, 3, 6, 7, 134, 533, 2911, 4351
Offset: 1

Views

Author

Seiichi Manyama, Apr 01 2018

Keywords

Comments

a(11) > 50000. - Robert Price, Feb 16 2020

Crossrefs

Numbers k such that b*k^k + b - 1 is prime: A110932 (b=2), A160360 (b=3), A301520 (b=4), A302088 (b=5), this sequence (b=6).
Cf. A302091.

Programs

  • PARI
    for(n=0, 500, if(isprime(6*n^n+5), print1(n", ")))

Extensions

a(8) from Jon E. Schoenfield, Apr 01 2018
a(9)-a(10) from Vaclav Kotesovec, Apr 01 2018

A216146 Smallest prime factor of 3*(2n+1)^(2n+1) + 2.

Original entry on oeis.org

5, 83, 9377, 2470631, 97, 5, 29, 13, 306503, 23173, 5, 7, 7, 11, 12517, 5, 13, 61, 17, 71, 5, 53, 1531477446517, 97, 101, 5, 11, 1999, 53, 11, 5, 67153, 7, 7, 13499, 5, 13, 28201
Offset: 0

Views

Author

M. F. Hasler, Sep 02 2012

Keywords

Examples

			Indices n = 0,1,2,3 correspond to the 4 primes a(n) = 3*(2n+1)^(2n+1) + 2, and to A160360(2,3,4,5) = 1,3,5,7. The next prime is a(46), with 184 digits too large to be displayed here.
a(22)=1531477446517 is the smaller factor of the semiprime 3*45^45+2.
		

Crossrefs

Cf. A160360.

Programs

  • Mathematica
    Table[FactorInteger[3(2n+1)^(2n+1)+2][[1,1]],{n,0,40}] (* Harvey P. Dale, Jan 25 2025 *)
  • PARI
    forstep(n=1,300,2,forprime(p=1,default(primelimit),Mod(n,p)^n*3+2&next;print1(p",");next(2));print1(factor(3*n^n+2)[1,1]","))

Extensions

Comment in example and link added by M. F. Hasler, Feb 03 2014

A301811 Primes of form 3*k^k + 2.

Original entry on oeis.org

5, 83, 9377, 2470631
Offset: 1

Views

Author

Seiichi Manyama, Mar 27 2018

Keywords

Comments

The next term is too large to include.
This sequence is different from A216146.

Crossrefs

Primes of form b*k^k + b - 1: A216148 (b=2), this sequence (b=3), A301808 (b=4).

Formula

a(n) = 3*A160360(n+1)^A160360(n+1) + 2.

A302088 Numbers k such that 5*k^k + 4 is prime.

Original entry on oeis.org

3, 5, 9, 183, 561
Offset: 1

Views

Author

Seiichi Manyama, Apr 01 2018

Keywords

Comments

a(6), if it exists, is greater than 5000. - Vaclav Kotesovec, Apr 01 2018
a(6), if it exists, is greater than 20000. - Michael S. Branicky, Sep 02 2024

Crossrefs

Numbers k such that b*k^k + b - 1 is prime: A110932 (b=2), A160360 (b=3), A301520 (b=4), this sequence (b=5), A302090 (b=6).
Cf. A302089.

Programs

  • Mathematica
    Select[Range[1, 1000], PrimeQ[5*#^# + 4] &] (* Vaclav Kotesovec, Apr 01 2018 *)
  • PARI
    for(n=0, 500, if(isprime(5*n^n+4), print1(n", ")))
    
  • PARI
    lista(nn) = forstep(n=1, nn, 2, if(ispseudoprime(5*n^n+4), print1(n, ", "))); \\ Altug Alkan, Apr 01 2018

Extensions

a(5) from Vaclav Kotesovec, Apr 01 2018

A228613 Least prime factor of (2n+1)^(2n+1)+2.

Original entry on oeis.org

3, 29, 53, 3, 59, 97, 3, 23, 7, 3, 31, 19, 3, 5, 51131, 3, 5, 2003, 3, 229, 139, 3, 4215399123059, 5, 3, 179, 5, 3, 43, 7, 3, 103993, 61141, 3, 19961719, 13, 3, 2391083871204802979, 331, 3, 89, 30707, 3, 5, 601, 3, 5
Offset: 0

Views

Author

M. F. Hasler and Stanislav Sykora, Feb 22 2014

Keywords

Comments

Suggested by S. Sykora in a discussion in the OEIS users group on LinkedIn, since the numbers to be factored here are more "elementary" than those of the existing A216146, in turn motivated by A160360.
As of today, a(47) seems not yet known.

Crossrefs

Programs

  • Mathematica
    Table[FactorInteger [((2 n + 1)^(2 n + 1) + 2)][[1, 1]], {n, 0, 46}] (* Vincenzo Librandi, Feb 24 2014 *)
    FactorInteger[#^#+2][[1,1]]&/@Range[1,91,2] (* Harvey P. Dale, Aug 27 2023 *)
  • PARI
    A228613=n->factor((2*n+1)^(2*n+1)+2)[1,1]

Formula

a(3k)=3 for all k >= 0.
Showing 1-8 of 8 results.