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.

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

Original entry on oeis.org

2, 16, 108, 640, 5600, 36288, 264992, 1536000, 12387168, 85120000, 658519752, 3135283200, 32296336800, 216063877120, 1450340640000, 8333819904000, 77537969371008, 488237947481088, 3790563394976072, 19162214400000000, 170264753751665664, 1245495178700551680
Offset: 1

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Crossrefs

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

Programs

  • Mathematica
    EulerPhi[7^Range[30] - 1] (* Wesley Ivan Hurt, Oct 15 2023 *)
  • PARI
    {a(n) = eulerphi(7^n-1)}

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

A366602 Number of divisors of 4^n-1.

Original entry on oeis.org

2, 4, 6, 8, 8, 24, 8, 16, 32, 48, 16, 96, 8, 64, 96, 32, 8, 512, 8, 192, 144, 128, 16, 768, 128, 128, 160, 256, 64, 4608, 8, 128, 384, 128, 512, 8192, 32, 128, 192, 768, 32, 9216, 32, 1024, 4096, 512, 64, 6144, 32, 8192, 1536, 1024, 64, 10240, 3072, 2048, 384
Offset: 1

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Examples

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

Crossrefs

Programs

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

Formula

a(n) = sigma0(4^n-1) = A000005(A024036(n)).
a(n) = A046801(2*n) = A046798(n) * A046801(n). - Max Alekseyev, Jan 07 2024

A366632 Number of distinct prime divisors of 7^n - 1.

Original entry on oeis.org

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

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Crossrefs

Programs

  • PARI
    for(n = 1, 100, print1(omega(7^n - 1), ", "))

Formula

a(n) = omega(7^n-1) = A001221(A024075(n)).

A366634 Sum of the divisors of 7^n-1.

Original entry on oeis.org

12, 124, 780, 7812, 33624, 354640, 1704240, 18929096, 97036800, 800520192, 3958188480, 56928231360, 193778020824, 1830926384640, 11181115146240, 115997032277280, 465294239722800, 5175558387507200, 22852200371636160, 287850454432579584, 1318081737957660000
Offset: 1

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Examples

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

Crossrefs

Programs

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

Formula

a(n) = sigma(7^n-1) = A000203(A024075(n)).

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

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)).
Showing 1-10 of 10 results.