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.

A366605 Number of distinct prime divisors of 4^n + 1.

Original entry on oeis.org

1, 1, 1, 2, 1, 2, 2, 3, 1, 4, 2, 3, 3, 4, 2, 5, 2, 4, 4, 4, 2, 6, 3, 5, 3, 5, 3, 6, 3, 3, 4, 5, 2, 6, 3, 6, 5, 5, 4, 9, 3, 5, 5, 5, 4, 10, 2, 4, 3, 6, 6, 9, 2, 4, 6, 6, 5, 8, 3, 7, 6, 6, 4, 10, 2, 9, 7, 6, 4, 8, 4, 6, 7, 5, 2, 12, 4, 9, 5, 4, 4, 10, 4, 6, 8, 10
Offset: 0

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Crossrefs

Programs

  • Mathematica
    PrimeNu[4^Range[0,100]+1] (* Paolo Xausa, Oct 14 2023 *)
  • PARI
    for(n = 0, 100, print1(omega(4^n + 1), ", "))
    
  • Python
    from sympy import primenu
    def A366605(n): return primenu((1<<(n<<1))+1) # Chai Wah Wu, Oct 14 2023

Formula

a(n) = omega(4^n+1) = A001221(A052539(n)).
a(n) = A046799(2*n). - Max Alekseyev, Jan 08 2024

A366638 Sum of the divisors of 7^n+1.

Original entry on oeis.org

3, 15, 93, 660, 3606, 34560, 236964, 1559520, 9155916, 77423280, 530807472, 3868683120, 21224771760, 185094572580, 1261494915594, 9988783073280, 49990612274316, 436182213726030, 3279858902194056, 21372989348391720, 122709716651985624, 1082323574100172800
Offset: 0

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Examples

			a(4)=3606 because 7^4+1 has divisors {1, 2, 1201, 2402}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[sigma](7^n+1):
    seq(a(n), n=0..100);
  • Mathematica
    DivisorSigma[1, 7^Range[0, 21] + 1] (* Paul F. Marrero Romero, Oct 16 2023 *)

Formula

a(n) = sigma(7^n+1) = A000203(A034491(n)).

A366639 a(n) = phi(7^n+1), where phi is Euler's totient function (A000010).

Original entry on oeis.org

1, 4, 20, 168, 1200, 7600, 43200, 407680, 2712832, 19707408, 112560000, 945677920, 6768230400, 47530457728, 271289229120, 2096760960000, 16569393144832, 116315256993600, 597938524646400, 5699431359135360, 38890647857280000, 270061302781670400
Offset: 0

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Crossrefs

Programs

  • Mathematica
    EulerPhi[7^Range[0,21] + 1] (* Paul F. Marrero Romero, Nov 05 2023 *)
  • PARI
    {a(n) = eulerphi(7^n+1)}

Formula

a(n) = A000010(A034491(n)). - Paul F. Marrero Romero, Nov 06 2023

A366655 Number of distinct prime divisors of 8^n + 1.

Original entry on oeis.org

1, 1, 2, 2, 2, 3, 4, 3, 3, 3, 5, 4, 4, 3, 6, 5, 3, 5, 6, 4, 4, 5, 6, 4, 5, 6, 9, 6, 5, 4, 10, 4, 3, 7, 9, 10, 6, 6, 8, 5, 6, 6, 10, 5, 7, 9, 8, 6, 7, 6, 12, 9, 5, 5, 10, 10, 8, 6, 8, 7, 8, 3, 9, 10, 4, 10, 12, 7, 8, 6, 14, 7, 8, 5, 10, 10, 8, 11, 16, 5, 7, 10
Offset: 0

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Crossrefs

Programs

  • PARI
    for(n = 0, 100, print1(omega(8^n + 1), ", "))

Formula

a(n) = omega(8^n+1) = A001221(A062395(n)).
a(n) = A046799(3*n). - Max Alekseyev, Jan 09 2024

A366615 Number of distinct prime divisors of 5^n + 1.

Original entry on oeis.org

1, 2, 2, 3, 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 3, 6, 3, 4, 5, 5, 4, 8, 4, 4, 4, 5, 4, 7, 3, 4, 7, 5, 4, 8, 6, 7, 6, 5, 4, 7, 5, 6, 6, 6, 3, 8, 3, 5, 5, 7, 7, 9, 5, 5, 6, 7, 7, 8, 3, 6, 6, 6, 4, 13, 4, 8, 7, 3, 7, 8, 7, 5, 6, 5, 5, 12, 5, 9, 9, 6, 6, 10, 6, 5, 7, 9
Offset: 0

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Crossrefs

Programs

  • Mathematica
    Table[PrimeNu[5^n+1],{n,0,90}] (* Harvey P. Dale, Apr 06 2025 *)
  • PARI
    for(n = 0, 100, print1(omega(5^n + 1), ", "))

Formula

a(n) = omega(5^n+1) = A001221(A034474(n)).

A366627 Number of distinct prime divisors of 6^n + 1.

Original entry on oeis.org

1, 1, 1, 2, 1, 3, 3, 3, 2, 3, 3, 2, 2, 4, 3, 5, 3, 3, 6, 3, 3, 5, 4, 3, 4, 4, 4, 5, 5, 4, 9, 2, 3, 6, 3, 10, 5, 4, 3, 9, 5, 4, 7, 2, 3, 7, 5, 2, 7, 5, 6, 8, 4, 5, 10, 7, 6, 7, 3, 2, 6, 3, 2, 9, 3, 8, 11, 5, 5, 6, 7, 4, 5, 6, 4, 10, 5, 5, 10, 6, 6, 8, 4, 5, 8
Offset: 0

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Crossrefs

Programs

  • Mathematica
    PrimeNu[6^Range[0,84] + 1] (* Paul F. Marrero Romero, Nov 11 2023 *)
  • PARI
    for(n = 0, 100, print1(omega(6^n + 1), ", "))

Formula

a(n) = omega(6^n+1) = A001221(A062394(n)).

A366637 Number of divisors of 7^n+1.

Original entry on oeis.org

2, 4, 6, 8, 4, 16, 24, 16, 8, 16, 32, 16, 32, 16, 12, 64, 8, 8, 48, 16, 16, 128, 48, 8, 16, 32, 24, 32, 64, 8, 512, 32, 16, 128, 48, 1024, 256, 16, 12, 256, 64, 64, 96, 512, 32, 2048, 96, 8, 64, 2048, 640, 128, 32, 64, 384, 3072, 256, 256, 96, 64, 512, 8, 48
Offset: 0

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Examples

			a(4)=4 because 7^4+1 has divisors {1, 2, 1201, 2402}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[tau](7^n+1):
    seq(a(n), n=0..100);
  • Mathematica
    DivisorSigma[0, 7^Range[0, 62] + 1] (* Paul F. Marrero Romero, Oct 16 2023 *)
  • PARI
    a(n) = numdiv(7^n+1);

Formula

a(n) = sigma0(7^n+1) = A000005(A034491(n)).

A366664 Number of distinct prime divisors of 9^n + 1.

Original entry on oeis.org

1, 2, 2, 3, 3, 3, 3, 4, 2, 4, 3, 4, 6, 4, 4, 5, 2, 4, 4, 4, 5, 7, 5, 4, 4, 6, 4, 5, 6, 4, 7, 5, 2, 6, 5, 8, 8, 5, 6, 7, 5, 5, 10, 7, 6, 8, 4, 4, 6, 9, 6, 8, 7, 6, 9, 7, 9, 9, 5, 3, 11, 6, 4, 11, 6, 7, 9, 9, 7, 6, 9, 5, 6, 6, 6, 11, 4, 8, 7, 5, 4, 7, 5, 5, 11
Offset: 0

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Crossrefs

Programs

  • Mathematica
    PrimeNu[9^Range[0,90]+1] (* Harvey P. Dale, Jul 04 2024 *)
  • PARI
    for(n = 0, 100, print1(omega(9^n + 1), ", "))

Formula

a(n) = omega(9^n+1) = A001221(A062396(n)).
a(n) = A366580(2*n). - Max Alekseyev, Jan 08 2024
Showing 1-8 of 8 results.