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.

A224420 Primes of the form 3^n - n.

Original entry on oeis.org

2, 7, 6553, 3486784381, 12157665459056928761, 41745579179292917813953351511015323088870709281977, 30432527221704537086371993251530170531786747066636939
Offset: 1

Views

Author

Alex Ratushnyak, Apr 06 2013

Keywords

Comments

The next term is too big to display. Corresponding n are given in A058037.

Crossrefs

Programs

  • Mathematica
    Select[Table[3^k - k, {k, 2, 200, 2}], PrimeQ] (* Bruno Berselli, Apr 07 2013 *)

A224468 Primes of the form 7^n - n.

Original entry on oeis.org

47, 117643, 5764793, 13841287189, 15286700631942576193765185769276826357, 36703368217294125441230211032033660188753
Offset: 1

Views

Author

Alex Ratushnyak, Apr 06 2013

Keywords

Comments

The next term is too big to display. Corresponding n are given in A224470.

Crossrefs

Programs

  • Mathematica
    Select[Table[7^k - k, {k, 2, 1000, 2}], PrimeQ] (* Bruno Berselli, Apr 07 2013 *)

A224469 Primes of the form 8^n - n.

Original entry on oeis.org

7, 509, 2596148429267413814265248164610011, 43556142965880123323311949751266331066323
Offset: 1

Views

Author

Alex Ratushnyak, Apr 06 2013

Keywords

Comments

The next term is too big to display.
Corresponding n are given in A224471.

Crossrefs

Programs

  • Maple
    A224469:=proc(q) local n;
    for n from 1 to q do if isprime(8^n-n) then print(8^n-n); fi; od; end:
    A224469(100); # Paolo P. Lava, Apr 19 2013
  • Mathematica
    Select[Table[8^n - n, {n, 500}], PrimeQ] (* Alonso del Arte, Apr 06 2013 *)

A273940 Primes of the form 5^m - m.

Original entry on oeis.org

23, 15619, 244140613
Offset: 1

Views

Author

Vincenzo Librandi, Jun 05 2016

Keywords

Comments

Corresponding values of m are given in A058046.
The next term has 254 digits.

Crossrefs

Primes of the form k^m - m: A081296 (k=2), A224420 (k=3), A224451 (k=4), this sequence (k=5), A273941 (k=6), A224468 (k=7), A224469 (k=8).

Programs

  • Magma
    [a: n in [0..400] | IsPrime(a) where a is 5^n-n];
    
  • Mathematica
    Select[Table[5^n - n, {n, 400}], PrimeQ]
  • PARI
    forstep(n=2,1e4,2, if(ispseudoprime(t=5^n-n), print1(t", "))) \\ Charles R Greathouse IV, Jun 08 2016

Formula

a(n) = A024050(A058046(n)). - Amiram Eldar, Jul 27 2025
Showing 1-4 of 4 results.