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

A279507 a(n) = floor(phi(n)/tau(n)).

Original entry on oeis.org

1, 0, 1, 0, 2, 0, 3, 1, 2, 1, 5, 0, 6, 1, 2, 1, 8, 1, 9, 1, 3, 2, 11, 1, 6, 3, 4, 2, 14, 1, 15, 2, 5, 4, 6, 1, 18, 4, 6, 2, 20, 1, 21, 3, 4, 5, 23, 1, 14, 3, 8, 4, 26, 2, 10, 3, 9, 7, 29, 1, 30, 7, 6, 4, 12, 2, 33, 5, 11, 3, 35, 2, 36, 9, 6, 6, 15, 3, 39, 3
Offset: 1

Views

Author

Jaroslav Krizek, Dec 13 2016

Keywords

Comments

a(n) = floor(A000010(n)/A000005(n)).
There are 11 numbers n such that phi(n) <= tau(n) and 7 numbers n such that phi(n) = tau(n); see A020490 and A020488.
Sequences b(k) of numbers n such that a(n) = k are finite for all k >=0; see A279508 (the smallest numbers n such that a(n) = k for k>=0) and A279509 (the largest numbers n such that a(n) = k for k>=0).
See A140475 (numbers n such that floor(phi(n)/tau(n)) > floor(phi(m)/tau(m)) for all m < n).

Examples

			For n=5; a(5) = floor(phi(5)/tau(5)) = floor(4/2) = 2.
		

Crossrefs

Programs

  • Magma
    [Floor(EulerPhi(n)/NumberOfDivisors(n)): n in[1..100]]
    
  • Mathematica
    Table[Floor[EulerPhi[n]/DivisorSigma[0, n]], {n,1,25}] (* G. C. Greubel, Dec 13 2016 *)
  • PARI
    for(n=1, 25, print1(floor(eulerphi(n)/numdiv(n)), ", ")) \\ G. C. Greubel, Dec 13 2016

Formula

a(n) > 1 for numbers in A279289.

A279508 a(n) = smallest number k such that floor(phi(k)/tau(k)) = n.

Original entry on oeis.org

2, 1, 5, 7, 27, 11, 13, 58, 17, 19, 55, 23, 65, 106, 29, 31, 85, 142, 37, 158, 41, 43, 115, 47, 119, 125, 53, 133, 145, 59, 61, 254, 262, 67, 274, 71, 73, 298, 1180, 79, 187, 83, 203, 346, 89, 209, 235, 382, 97, 394, 101, 103, 169, 107, 109, 253, 113, 458, 295
Offset: 0

Views

Author

Jaroslav Krizek, Dec 13 2016

Keywords

Comments

a(n) = the smallest number k such that floor(A000010(k)/A000005(k)) = A279507(k) = n.
Sequences b_n of numbers k such that floor(phi(k)/tau(k)) = n for n = 0..2:
b_0: 2, 4, 6, 12;
b_1: 1, 3, 8, 10, 14, 16, 18, 20, 24, 30, 36, 42, 48, 60;
b_2: 5, 9, 15, 22, 28, 32, 40, 54, 66, 72, 84, 90, 96, 120, 180.
Sequences b_n are finite for all n >=0. See A279509 (largest number k such that floor(phi(k)/tau(k)) = n).
Supersequence of A045344 (primes excluding 3).

Examples

			For n = 2; a(2) = 5 because 5 is the smallest number with floor(phi(5) / tau(5)) = floor(4/2) = 2.
		

Crossrefs

Programs

  • Magma
    [Min([n: n in[1..100000] | Floor(EulerPhi(n)/NumberOfDivisors(n)) eq k]): k in [0..60]]
    
  • Mathematica
    Table[k = 1; While[Floor[EulerPhi[k]/DivisorSigma[0, k]] != n, k++]; k, {n, 0, 58}] (* Michael De Vlieger, Dec 14 2016 *)
  • PARI
    a(n) = my(k=1); while(floor((eulerphi(k)/numdiv(k)))!=n, k++); k \\ Felix Fröhlich, Dec 14 2016

Formula

a((p-1)/2) = p for p = prime > 3.
Showing 1-2 of 2 results.