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-10 of 13 results. Next

A366714 Number of divisors of 12^n+1.

Original entry on oeis.org

2, 2, 4, 8, 4, 4, 8, 8, 8, 32, 12, 4, 16, 24, 16, 128, 4, 8, 32, 16, 64, 384, 64, 16, 64, 64, 32, 1024, 8, 8, 48, 8, 4, 512, 16, 32, 128, 16, 32, 1536, 16, 32, 64, 32, 16, 4096, 8, 32, 32, 32, 512, 512, 32, 32, 1024, 128, 512, 1536, 192, 64, 1024, 32, 64
Offset: 0

Views

Author

Sean A. Irvine, Oct 17 2023

Keywords

Examples

			a(4)=4 because 12^4+1 has divisors {1, 89, 233, 20737}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[tau](12^n+1):
    seq(a(n), n=0..100);
  • Mathematica
    DivisorSigma[0, 12^Range[0, 70] + 1] (* Paolo Xausa, Apr 20 2025 *)
  • PARI
    a(n) = numdiv(12^n+1);

Formula

a(n) = sigma0(12^n+1) = A000005(A178248(n)).

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

Original entry on oeis.org

1, 12, 112, 1296, 20416, 229680, 2306304, 32916240, 400515072, 3863116800, 47825825600, 685853880624, 8732596764672, 97509650382144, 990242755633152, 11148606564480000, 184883057981234176, 2047145911595946000, 20281543142263603200, 294779525244632305920
Offset: 0

Views

Author

Sean A. Irvine, Oct 17 2023

Keywords

Crossrefs

Programs

  • Mathematica
    EulerPhi[12^Range[0,19] + 1] (* Paul F. Marrero Romero, Oct 27 2023 *)
  • PARI
    {a(n) = eulerphi(12^n+1)}

Formula

a(n) = A000010(A178248(n)). - Paul F. Marrero Romero, Oct 27 2023

A366715 Sum of the divisors of 12^n+1.

Original entry on oeis.org

3, 14, 180, 2240, 21060, 267988, 3706920, 38773952, 459970056, 6692483840, 79425033660, 800162860756, 9101898907920, 117326869641600, 1596198064568400, 20655000929239040, 184885459808838660, 2390210102271311936, 33504016991491136160, 344201347103878781440
Offset: 0

Views

Author

Sean A. Irvine, Oct 17 2023

Keywords

Examples

			a(4)=21060 because 12^4+1 has divisors {1, 89, 233, 20737}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[sigma](12^n+1):
    seq(a(n), n=0..100);

Formula

a(n) = sigma(12^n+1) = A000203(A178248(n)).

A366686 Number of distinct prime divisors of 11^n + 1.

Original entry on oeis.org

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

Views

Author

Sean A. Irvine, Oct 16 2023

Keywords

Crossrefs

Programs

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

Formula

a(n) = omega(11^n+1) = A001221(A034524(n)).

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

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

A366719 Smallest prime dividing 12^n + 1.

Original entry on oeis.org

2, 13, 5, 7, 89, 13, 5, 13, 17, 7, 5, 13, 89, 13, 5, 7, 153953, 13, 5, 13, 41, 7, 5, 13, 17, 13, 5, 7, 89, 13, 5, 13, 769, 7, 5, 13, 89, 13, 5, 7, 17, 13, 5, 13, 89, 7, 5, 13, 7489, 13, 5, 7, 89, 13, 5, 13, 17, 7, 5, 13, 41, 13, 5, 7, 36097, 13, 5, 13, 89, 7
Offset: 0

Views

Author

Sean A. Irvine, Oct 17 2023

Keywords

Crossrefs

Programs

Formula

a(n) = A020639(A178248(n)). - Paul F. Marrero Romero, Oct 25 2023

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)).

A366636 Number of distinct prime divisors of 7^n + 1.

Original entry on oeis.org

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

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Crossrefs

Programs

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

Formula

a(n) = omega(7^n+1) = A001221(A034491(n)).
Showing 1-10 of 13 results. Next