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

A366622 Sum of the divisors of 6^n-1.

Original entry on oeis.org

6, 48, 264, 1824, 9672, 67584, 335928, 2367552, 13031040, 94708224, 454285152, 3523559424, 15677418768, 113738502240, 599516366592, 4210539708672, 20465720064000, 154928015278080, 735060126170880, 5906693566844928, 26937015875831424, 188358079273592832
Offset: 1

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Examples

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

Crossrefs

Programs

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

Formula

a(n) = sigma(6^n-1) = A000203(A024062(n)).

A366653 Sum of the divisors of 8^n-1.

Original entry on oeis.org

8, 104, 592, 8736, 38912, 473600, 2466048, 38054016, 155493536, 2015330304, 10359014400, 166290432000, 636328345600, 7645340651520, 42424026529792, 648494317126656, 2599936977797120, 32817383473149440, 164708609085669376, 3010983668199456768
Offset: 1

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Examples

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

Crossrefs

Programs

  • Maple
    a:=n->numtheory[sigma](8^n-1):
    seq(a(n), n=1..100);
  • Mathematica
    DivisorSigma[1, 8^Range[30]-1]
  • SageMath
    [sigma(8**n-1, 1) for n in range(1, 21)] # Stefano Spezia, Aug 02 2025

Formula

a(n) = sigma(8^n-1) = A000203(A024088(n)).
a(n) = A075708(3*n). - Max Alekseyev, Jan 09 2024

A366662 Sum of the divisors of 9^n-1.

Original entry on oeis.org

15, 186, 1680, 15876, 123690, 1541568, 8992680, 111757968, 967814400, 9366647892, 62424587520, 852903426816, 4766016364260, 55176998178240, 550081165885440, 4829754617483040, 31725040326819840, 471309320999516160, 2535353780263288800, 33995669076586206864
Offset: 1

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Examples

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

Crossrefs

Programs

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

Formula

a(n) = sigma(9^n-1) = A000203(A024101(n)).
a(n) = A366576(2*n) = A366576(n) * A366578(n) * (2^(4 + A007814(n)) - 1) / (2^(3 + A007814(n)) - 1) / 3. - 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

A366613 Sum of the divisors of 5^n-1.

Original entry on oeis.org

7, 60, 224, 1736, 6048, 49920, 136724, 1107792, 3718400, 27060480, 85449224, 869499904, 2136230474, 15820920000, 61359427584, 461863805760, 1338408456700, 13177159680000, 33558717136896, 301282248701952, 863701914880000, 6313641012910080, 20863951122979048
Offset: 1

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Examples

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

Crossrefs

Programs

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

Formula

a(n) = sigma(5^n-1) = A000203(A024049(n)).

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

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

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

A366576 Sum of the divisors of 3^n-1.

Original entry on oeis.org

3, 15, 42, 186, 399, 1680, 3282, 15876, 31836, 123690, 277344, 1541568, 2391486, 8992680, 25483332, 111757968, 193819392, 967814400, 1744488660, 9366647892, 16912999320, 62424587520, 144219337920, 852903426816, 1397135488896, 4766016364260, 12477973754400
Offset: 1

Views

Author

Sean A. Irvine, Oct 13 2023

Keywords

Examples

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

Crossrefs

Programs

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

Formula

a(n) = sigma(3^n-1) = A000203(A024023).
Showing 1-10 of 10 results.