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 11 results. Next

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

Original entry on oeis.org

4, 32, 288, 2560, 26400, 165888, 2384928, 15728640, 141087744, 1246080000, 14758128000, 85996339200, 1270928131200, 8810420097024, 70207948800000, 677066362060800, 8218041445152000, 43129128265187328, 674757689572915200, 4238841176064000000
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), A366635 (k=7), A366654 (k=8), this sequence (k=9), A295503 (k=10), A366685 (k=11), A366711 (k=12).

Programs

  • Mathematica
    EulerPhi[9^Range[30] - 1]
  • PARI
    {a(n) = eulerphi(9^n-1)}

Formula

a(n) = A295500(2*n) = 2 * A295500(n) * A366579(n). - Max Alekseyev, Jan 07 2024

A366580 Number of distinct prime divisors of 3^n + 1.

Original entry on oeis.org

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

Views

Author

Sean A. Irvine, Oct 13 2023

Keywords

Crossrefs

Programs

  • Mathematica
    PrimeNu[3^Range[0,100]+1] (* Paolo Xausa, Oct 14 2023 *)
  • PARI
    for(n = 0, 100, print1(omega(3^n + 1), ", "))

Formula

a(n) = omega(3^n+1) = A001221(A034472(n)).

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

Original entry on oeis.org

1, 4, 16, 48, 256, 800, 3840, 12544, 65536, 186624, 986880, 3345408, 16515072, 52306176, 252645120, 760320000, 4288266240, 13628740608, 64258375680, 218462552064, 1095233372160, 3105655160832, 16510446886912, 56000724240384, 280012271910912, 869940000000000
Offset: 0

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Crossrefs

Programs

  • Mathematica
    EulerPhi[4^Range[0,30]+1] (* Paolo Xausa, Oct 14 2023 *)
  • PARI
    {a(n) = eulerphi(4^n+1)}
    
  • Python
    from sympy import totient
    def A366608(n): return totient((1<<(n<<1))+1) # Chai Wah Wu, Oct 14 2023

Formula

a(n) = A053285(2*n). - Max Alekseyev, Jan 08 2024

A366577 Number of divisors of 3^n+1.

Original entry on oeis.org

2, 3, 4, 6, 4, 6, 8, 6, 8, 24, 12, 12, 8, 6, 16, 48, 4, 24, 16, 12, 8, 72, 16, 6, 64, 24, 16, 96, 16, 24, 48, 12, 4, 96, 16, 24, 16, 24, 16, 192, 32, 12, 128, 6, 32, 768, 16, 24, 16, 24, 128, 384, 16, 12, 32, 96, 64, 192, 16, 12, 128, 12, 32, 4608, 4, 24, 64
Offset: 0

Views

Author

Sean A. Irvine, Oct 13 2023

Keywords

Examples

			a(4)=4 because 3^4+1 has divisors {1, 2, 41, 82}.
		

Crossrefs

Programs

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

Formula

a(n) = sigma0(3^n+1) = A000005(A034472(n)).

A366578 Sum of the divisors of 3^n+1.

Original entry on oeis.org

3, 7, 18, 56, 126, 434, 1332, 3836, 10476, 42560, 109926, 315112, 816732, 2790074, 8906760, 30220288, 64570086, 229156928, 706911048, 2034690952, 5357742012, 21838961760, 56496274632, 164750562956, 456919958880, 1517043139136, 4661686010664, 16489453890560
Offset: 0

Views

Author

Sean A. Irvine, Oct 13 2023

Keywords

Examples

			a(4)=126 because 3^4+1 has divisors {1, 2, 41, 82}.
		

Crossrefs

Programs

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

Formula

a(n) = sigma(3^n+1) = A000203(A034472(n)).

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

Original entry on oeis.org

1, 6, 36, 180, 1296, 6000, 41472, 230496, 1580800, 8359200, 58579200, 310968900, 2175102720, 10971642240, 76065091200, 351048600000, 2811459796992, 14508487949472, 88870766837760, 522016066337712, 3564233663616000, 17479898551382400, 128060205344805888
Offset: 0

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Crossrefs

Programs

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

Formula

a(n) = A000010(A062394(n)). - Paul F. Marrero Romero, Oct 17 2023

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

Original entry on oeis.org

1, 4, 40, 288, 3072, 23600, 259200, 1847104, 21523360, 152845056, 1700870400, 12550120000, 130459631616, 997562438080, 11159367815680, 81159501312000, 926510094425920, 6670865700716544, 73205598106368000, 540340585126398016, 5691215305506816000
Offset: 0

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Crossrefs

Programs

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

Formula

a(n) = A000010(A062396(n)). - Paul F. Marrero Romero, Nov 04 2023
a(n) = A366579(2*n). - Max Alekseyev, Jan 08 2024

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

Original entry on oeis.org

1, 2, 12, 36, 312, 1040, 7200, 25088, 183808, 557928, 4396800, 15333120, 121680000, 406812744, 2817007200, 8558784000, 76264519680, 254230063200, 1710194342400, 6349120596480, 47334145996800, 127169887444992, 1088029470747648, 3889097389599864
Offset: 0

Views

Author

Sean A. Irvine, Oct 14 2023

Keywords

Crossrefs

Programs

  • Mathematica
    EulerPhi[5^Range[0,30]+1] (* Harvey P. Dale, Jun 07 2025 *)
  • PARI
    {a(n) = eulerphi(5^n+1)}

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

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

Original entry on oeis.org

1, 6, 48, 324, 3840, 19800, 186624, 1365336, 16515072, 84768120, 760320000, 5632621632, 64258375680, 366369658200, 3105655160832, 20140520400000, 280012271910912, 1495522910085120, 12824556668190720, 95907982079387520, 1080582572777472000, 5688765822212629632
Offset: 0

Views

Author

Sean A. Irvine, Oct 15 2023

Keywords

Crossrefs

Programs

  • Mathematica
    EulerPhi[8^Range[0, 21] + 1] (* Paul F. Marrero Romero, Oct 17 2023 *)
  • PARI
    {a(n) = eulerphi(8^n+1)}
    
  • Python
    from sympy import totient
    def A366658(n): return totient((1<<3*n)+1) # Chai Wah Wu, Oct 15 2023

Formula

a(n) = A000010(A062395(n)). - Paul F. Marrero Romero, Nov 06 2023
a(n) = A053285(3*n). - Max Alekseyev, Jan 09 2024
Showing 1-10 of 11 results. Next