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 10 results.

A295501 a(n) = phi(4^n-1), where phi is Euler's totient function (A000010).

Original entry on oeis.org

2, 8, 36, 128, 600, 1728, 10584, 32768, 139968, 480000, 2640704, 6635520, 44717400, 132765696, 534600000, 2147483648, 11452896600, 26121388032, 183250539864, 473702400000, 2427720325632, 8834232287232, 45914084232320, 109586090557440, 656100000000000
Offset: 1

Views

Author

Seiichi Manyama, Nov 22 2017

Keywords

Crossrefs

phi(k^n-1): A053287 (k=2), A295500 (k=3), this sequence (k=4), A295502 (k=5), A366623 (k=6), A366635 (k=7), A366654 (k=8), A366663 (k=9), A295503 (k=10), A366685 (k=11), A366711 (k=12).

Programs

  • Mathematica
    EulerPhi[4^Range[30] - 1] (* Paolo Xausa, Jun 17 2024 *)
  • PARI
    {a(n) = eulerphi(4^n-1)}

Formula

a(n) = n*A027695(n).
a(n) = A053287(2*n) = A053285(n) * A053287(n). - Max Alekseyev, Jan 07 2024

A366621 Number of divisors of 6^n-1.

Original entry on oeis.org

2, 4, 4, 8, 6, 16, 4, 16, 16, 48, 8, 128, 8, 48, 48, 64, 32, 128, 8, 384, 16, 32, 32, 512, 32, 128, 64, 384, 4, 1536, 8, 512, 64, 256, 96, 8192, 64, 64, 64, 3072, 8, 768, 32, 512, 1536, 256, 16, 8192, 32, 512, 512, 2048, 16, 2048, 96, 12288, 128, 64, 16
Offset: 1

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Examples

			a(4)=8 because 6^4-1 has divisors {1, 5, 7, 35, 37, 185, 259, 1295}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[tau](6^n-1):
    seq(a(n), n=1..100);
  • Mathematica
    DivisorSigma[0, 6^Range[100]-1]
  • PARI
    a(n) = numdiv(6^n-1);

Formula

a(n) = sigma0(6^n-1) = A000005(A024062(n)).

A366661 Number of divisors of 9^n-1.

Original entry on oeis.org

4, 10, 16, 24, 24, 80, 16, 112, 128, 180, 64, 384, 16, 160, 768, 256, 128, 1280, 64, 864, 768, 640, 32, 14336, 384, 160, 4096, 1536, 256, 23040, 128, 576, 2048, 1280, 768, 12288, 128, 640, 12288, 16128, 128, 61440, 32, 12288, 196608, 320, 512, 131072, 2048
Offset: 1

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Examples

			a(2)=10 because 9^2-1 has divisors {1, 2, 4, 5, 8, 10, 16, 20, 40, 80}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[tau](9^n-1):
    seq(a(n), n=1..100);
  • Mathematica
    DivisorSigma[0, 9^Range[100]-1]
  • PARI
    a(n) = numdiv(9^n-1);

Formula

a(n) = sigma0(9^n-1) = A000005(A024101(n)).
a(n) = A366575(2*n) = A366575(n) * A366577(n) * (4 + A007814(n)) / (2 * (3 + A007814(n))). - Max Alekseyev, Jan 07 2024

A366603 Sum of the divisors of 4^n-1.

Original entry on oeis.org

4, 24, 104, 432, 1536, 8736, 22528, 111456, 473600, 1999872, 5909760, 38054016, 89522176, 462274560, 2015330304, 7304603328, 22907191296, 166290432000, 366506672128, 2220409884672, 7645340651520, 29833839544320, 95821839806976, 648494317126656
Offset: 1

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Examples

			a(4)=432 because 4^4-1 has divisors {1, 3, 5, 15, 17, 51, 85, 255}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[sigma](4^n-1):
    seq(a(n), n=1..100);
  • Mathematica
    DivisorSigma[1,4^Range[30]-1] (* Paolo Xausa, Oct 14 2023 *)

Formula

a(n) = sigma(4^n-1) = A000203(A024036(n)).
a(n) = A069061(n) * A075708(n). - Robert Israel, Nov 22 2023

A366633 Number of divisors of 7^n-1.

Original entry on oeis.org

4, 10, 12, 36, 8, 60, 16, 84, 64, 80, 16, 864, 8, 160, 96, 384, 16, 640, 16, 1536, 96, 160, 32, 16128, 32, 80, 1280, 1152, 32, 3840, 32, 1728, 384, 80, 128, 18432, 32, 160, 192, 14336, 32, 7680, 16, 4608, 2048, 160, 16, 147456, 256, 640, 768, 1152, 32, 25600
Offset: 1

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Examples

			a(5)=8 because 7^5-1 has divisors {1, 2, 3, 6, 2801, 5602, 8403, 168061}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[tau](7^n-1):
    seq(a(n), n=1..100);
  • Mathematica
    DivisorSigma[0, 7^Range[100]-1]
  • PARI
    a(n) = numdiv(7^n-1);

Formula

a(n) = sigma0(7^n-1) = A000005(A024075(n)).

A366604 Number of distinct prime divisors of 4^n - 1.

Original entry on oeis.org

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

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Crossrefs

Programs

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

Formula

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

A366606 Number of divisors of 4^n+1.

Original entry on oeis.org

2, 2, 2, 4, 2, 6, 4, 8, 2, 16, 4, 8, 8, 16, 4, 48, 4, 16, 16, 16, 4, 64, 8, 32, 8, 64, 8, 64, 8, 8, 16, 32, 4, 64, 12, 96, 32, 32, 16, 768, 8, 32, 32, 32, 16, 1536, 4, 16, 8, 64, 64, 512, 4, 16, 64, 96, 32, 256, 8, 128, 64, 64, 16, 1024, 4, 768, 128, 64, 16
Offset: 0

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Examples

			a(3)=4 because 4^3+1 has divisors {1, 5, 13, 65}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[tau](4^n+1):
    seq(a(n), n=0..100);
  • Mathematica
    DivisorSigma[0,4^Range[0,100]+1] (* Paolo Xausa, Oct 14 2023 *)
  • PARI
    a(n) = numdiv(4^n+1);
    
  • Python
    from sympy import divisor_count
    def A366606(n): return divisor_count((1<<(n<<1))+1) # Chai Wah Wu, Oct 14 2023

Formula

a(n) = sigma0(4^n+1) = A000005(A052539(n)).
a(n) = A046798(2*n). - Max Alekseyev, Jan 08 2024

A366612 Number of divisors of 5^n-1.

Original entry on oeis.org

3, 8, 6, 20, 12, 48, 6, 48, 24, 64, 6, 240, 6, 64, 96, 224, 12, 512, 24, 640, 48, 128, 12, 1152, 192, 64, 384, 320, 24, 6144, 12, 1024, 48, 128, 384, 10240, 24, 512, 48, 6144, 12, 18432, 12, 1280, 3072, 128, 6, 10752, 12, 4096, 192, 960, 24, 81920, 576, 1536
Offset: 1

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Examples

			a(3)=6 because 5^3-1 has divisors {1, 2, 4, 31, 62, 124}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[tau](5^n-1):
    seq(a(n), n=1..100);
  • Mathematica
    DivisorSigma[0, 5^Range[100]-1]
  • PARI
    a(n) = numdiv(5^n-1);

Formula

a(n) = sigma0(5^n-1) = A000005(A024049(n)).

A366652 Number of divisors of 8^n-1.

Original entry on oeis.org

2, 6, 4, 24, 8, 32, 12, 96, 8, 96, 16, 512, 16, 144, 64, 768, 32, 160, 16, 4608, 96, 384, 16, 8192, 128, 192, 64, 9216, 64, 4096, 8, 6144, 256, 1536, 1536, 10240, 64, 384, 512, 73728, 32, 6144, 32, 24576, 1024, 384, 64, 262144, 64, 12288, 256, 147456, 256
Offset: 1

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Examples

			a(5)=8 because 8^5-1 has divisors {1, 7, 31, 151, 217, 1057, 4681, 32767}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[tau](8^n-1):
    seq(a(n), n=1..100);
  • Mathematica
    DivisorSigma[0, 8^Range[100]-1]
  • PARI
    a(n) = numdiv(8^n-1);

Formula

a(n) = sigma0(8^n-1) = A000005(A024088(n)).
a(n) = A046801(3*n). - Max Alekseyev, Jan 09 2024

A366575 Number of divisors of 3^n - 1.

Original entry on oeis.org

2, 4, 4, 10, 6, 16, 4, 24, 8, 24, 8, 80, 4, 16, 24, 112, 8, 128, 8, 180, 16, 64, 8, 384, 24, 16, 64, 160, 16, 768, 16, 256, 32, 128, 48, 1280, 8, 64, 96, 864, 16, 768, 8, 640, 384, 32, 32, 14336, 128, 384, 64, 160, 16, 4096, 128, 1536, 128, 256, 8, 23040, 8
Offset: 1

Views

Author

Sean A. Irvine, Oct 13 2023

Keywords

Examples

			a(4)=10 because 3^4-1 has divisors {1, 2, 4, 5, 8, 10, 16, 20, 40, 80}.
		

Crossrefs

Programs

  • Maple
    a:=n->numtheory[tau](3^n-1):
    seq(a(n), n=1..100);
  • Mathematica
    DivisorSigma[0,3^Range[100]-1] (* Paolo Xausa, Oct 15 2023 *)

Formula

a(n) = sigma0(3^n-1) = A000005(A024023).
Showing 1-10 of 10 results.