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-5 of 5 results.

A332512 Numbers k such that phi(k) == 0 (mod 12), where phi is the Euler totient function (A000010).

Original entry on oeis.org

13, 21, 26, 28, 35, 36, 37, 39, 42, 45, 52, 56, 57, 61, 63, 65, 70, 72, 73, 74, 76, 77, 78, 84, 90, 91, 93, 95, 97, 99, 104, 105, 108, 109, 111, 112, 114, 117, 119, 122, 124, 126, 129, 130, 133, 135, 140, 143, 144, 146, 147, 148, 152, 153, 154, 155, 156, 157, 161
Offset: 1

Views

Author

Amiram Eldar, Feb 14 2020

Keywords

Comments

Dence and Pomerance showed that the asymptotic number of the terms below x is ~ x.

Examples

			13 is a term since phi(13) = 12 == 0 (mod 12).
		

Crossrefs

Programs

  • Magma
    [k:k in [1..170]| EulerPhi(k) mod 12 eq 0]; // Marius A. Burtea, Feb 14 2020
  • Mathematica
    Select[Range[200], Divisible[EulerPhi[#], 12] &]

A332511 Numbers k such that phi(k) == 2 (mod 12), where phi is the Euler totient function (A000010).

Original entry on oeis.org

3, 4, 6, 121, 242, 529, 1058, 2209, 3481, 4418, 5041, 6889, 6962, 10082, 11449, 13778, 14641, 17161, 22898, 27889, 29282, 32041, 34322, 36481, 51529, 55778, 57121, 63001, 64082, 69169, 72962, 96721, 103058, 114242, 120409, 126002, 128881, 138338, 146689, 175561
Offset: 1

Views

Author

Amiram Eldar, Feb 14 2020

Keywords

Comments

Dence and Dence noted that the values of phi(k) congruent to 2 (mod 12) are sparse compared to the other possible even values. For example, for k <= 10^4 there only 10 values of phi(k) congruent to 2 (mod 12), compared to 6114, 1650, 511, 1233, and 476 values congruent to 0, 4, 6, 8, and 10 (mod 12), respectively. They proved that the asymptotic density of this sequence is 0 by showing that the only terms above 6 are of the form p^e and 2*p^e with p == 11 (mod 12) a prime and e even.
Dence and Pomerance showed that the asymptotic number of the terms below x is ~ (1/2 + 1/(2*sqrt(2)))*sqrt(x)/log(x).

Examples

			121 is a term since phi(121) = 110 == 2 (mod 12).
		

Crossrefs

Cf. A000010, A017545, A201488 (coefficient in asymptotic formula), A332512, A332513, A332514, A332515, A332516.

Programs

  • Magma
    [k:k in [1..180000]| EulerPhi(k) mod 12 eq 2]; // Marius A. Burtea, Feb 14 2020
  • Mathematica
    Select[Range[2*10^5], Mod[EulerPhi[#], 12] == 2 &]

A332513 Numbers k such that phi(k) == 4 (mod 12), where phi is the Euler totient function (A000010).

Original entry on oeis.org

5, 8, 10, 12, 17, 29, 32, 34, 40, 41, 48, 53, 55, 58, 60, 75, 82, 85, 88, 89, 100, 101, 106, 110, 113, 115, 125, 128, 132, 136, 137, 145, 149, 150, 160, 170, 173, 178, 184, 187, 192, 197, 202, 204, 205, 226, 230, 232, 233, 235, 240, 250, 253, 257, 265, 269, 274
Offset: 1

Views

Author

Amiram Eldar, Feb 14 2020

Keywords

Comments

Dence and Pomerance showed that the asymptotic number of the terms below x is ~ c1 * x/sqrt(log(x)), where c1 = (sqrt(2*sqrt(3))/(3*Pi)) * c3^(-1/2) * (2*c3 + c4) = 0.6109136202..., c3 = Product_{primes p == 2 (mod 3)} (1 + 1/(p^2-1)), and c4 = Product_{primes p == 2 (mod 3)} (1 - 1/(p+1)^2).

Examples

			17 is a term since phi(17) = 16 == 4 (mod 12).
		

Crossrefs

Programs

  • Magma
    [k:k in [1..300]| EulerPhi(k) mod 12 eq 4]; // Marius A. Burtea, Feb 14 2020
  • Mathematica
    Select[Range[300], Mod[EulerPhi[#], 12] == 4 &]

A332514 Numbers k such that phi(k) == 6 (mod 12), where phi is the Euler totient function (A000010).

Original entry on oeis.org

7, 9, 14, 18, 19, 27, 31, 38, 43, 49, 54, 62, 67, 79, 81, 86, 98, 103, 127, 134, 139, 151, 158, 162, 163, 199, 206, 211, 223, 243, 254, 271, 278, 283, 302, 307, 326, 331, 343, 361, 367, 379, 398, 422, 439, 446, 463, 486, 487, 499, 523, 542, 547, 566, 571, 607, 614
Offset: 1

Views

Author

Amiram Eldar, Feb 14 2020

Keywords

Comments

Dence and Pomerance showed that the asymptotic number of the terms below x is ~ (3/8) * x/log(x).

Examples

			19 is a term since phi(19) = 18 == 6 (mod 12).
		

Crossrefs

Programs

  • Magma
    [k:k in [1..650]| EulerPhi(k) mod 12 eq 6]; // Marius A. Burtea, Feb 14 2020
  • Mathematica
    Select[Range[600], Mod[EulerPhi[#], 12] == 6 &]

A332515 Numbers k such that phi(k) == 8 (mod 12), where phi is the Euler totient function (A000010).

Original entry on oeis.org

15, 16, 20, 24, 25, 30, 33, 44, 50, 51, 64, 66, 68, 69, 80, 87, 92, 96, 102, 116, 120, 123, 138, 141, 159, 164, 165, 174, 176, 177, 188, 200, 212, 213, 220, 236, 246, 249, 255, 256, 264, 267, 272, 275, 282, 284, 289, 300, 303, 318, 320, 321, 330, 332, 339, 340
Offset: 1

Views

Author

Amiram Eldar, Feb 14 2020

Keywords

Comments

Dence and Pomerance showed that the asymptotic number of the terms below x is ~ c2 * x/sqrt(log(x)), where c2 = (sqrt(2*sqrt(3))/(3*Pi)) * c3^(-1/2) * (2*c3 - c4) = 0.3284176245..., c3 = Product_{primes p == 2 (mod 3)} (1 + 1/(p^2-1)), and c4 = Product_{primes p == 2 (mod 3)} (1 - 1/(p+1)^2).

Examples

			25 is a term since phi(25) = 20 == 8 (mod 12).
		

Crossrefs

Programs

  • Magma
    [k:k in [1..350]| EulerPhi(k) mod 12 eq 8]; // Marius A. Burtea, Feb 14 2020
  • Mathematica
    Select[Range[400], Mod[EulerPhi[#], 12] == 8 &]
Showing 1-5 of 5 results.