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.

A003271 Smallest number that requires n iterations of the unitary totient function (A047994) to reach 1.

Original entry on oeis.org

1, 2, 3, 4, 5, 9, 16, 17, 41, 83, 113, 137, 257, 773, 977, 1657, 2048, 2313, 4001, 5725, 7129, 11117, 17279, 19897, 22409, 39283, 43657, 55457, 120677, 308941, 314521, 465089, 564353, 797931, 1110841, 1310443, 1924159, 2535041, 3637637, 6001937, 8319617, 9453569, 10969369
Offset: 0

Views

Author

Keywords

Comments

A049865(a(n)) = n and A049865(m) <> n for m < a(n). [Reinhard Zumkeller, Aug 17 2011]

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • Haskell
    import Data.List (elemIndex)
    import Data.Maybe (fromJust)
    a003271 n = a003271_list !! n
    a003271_list = map ((+ 1) . fromJust . (`elemIndex` a049865_list)) [0..]
    -- Reinhard Zumkeller, Aug 17 2011
  • Mathematica
    uphi[n_ /; n <= 1] = 1; uphi[n_] := uphi[n] = (f = FactorInteger[n]; Times @@ (f[[All, 1]]^f[[All, 2]] - 1));
    b[n_] := (k = 0; FixedPoint[(k++; uphi[#])&, n]; k - 1);
    a[0] = 1; a[n_] := a[n] = For[an = a[n-1], True, an++, If[b[an] == n, Return[an]]];
    Table[Print["a(", n, ") = ", a[n]]; a[n], {n, 0, 42}] (* Jean-François Alcover, Oct 05 2017 *)

Extensions

More terms from David W. Wilson

A225173 Number of numbers which require n iterations of the unitary totient function (A047994) to reach 1.

Original entry on oeis.org

1, 1, 2, 4, 9, 21, 38, 82, 164, 261, 424, 749, 1097, 1721, 2592, 4351, 7319, 10725, 17013, 27773, 44767, 73914, 118990, 185059, 275055, 401059, 617679, 935331, 1379826, 2089569, 2962015, 3899417, 5202824
Offset: 0

Views

Author

N. J. A. Sloane, May 01 2013

Keywords

Crossrefs

Extensions

a(16)-a(32) from Donovan Johnson, May 02 2013

A329153 Sum of the iterated unitary totient function (A047994).

Original entry on oeis.org

0, 1, 3, 6, 10, 3, 9, 16, 24, 10, 20, 9, 21, 9, 24, 39, 55, 24, 42, 21, 21, 20, 42, 23, 47, 21, 47, 42, 70, 24, 54, 85, 41, 55, 47, 47, 83, 42, 47, 70, 110, 21, 63, 54, 117, 42, 88, 54, 102, 47, 117, 83, 135, 47, 110, 63, 83, 70, 128, 47, 107, 54, 102, 165, 102
Offset: 1

Views

Author

Amiram Eldar, Feb 25 2020

Keywords

Comments

Analogous to A092693 with the unitary totient function uphi instead of the Euler totient function phi (A000010).

Examples

			a(4) = uphi(4) + uphi(uphi(4)) + uphi(uphi(uphi(4))) = 3 + 2 + 1 = 6.
		

Crossrefs

Programs

  • Mathematica
    uphi[1] = 1; uphi[n_] := Times @@ (-1 + Power @@@ FactorInteger[n]); Table[Plus @@ FixedPointList[uphi, n] - n - 1, {n, 1, 100}]

Formula

a(n) = n for n in A286067.

A225175 Largest number which requires n iterations of the bi-unitary totient function (A116550) to reach 1.

Original entry on oeis.org

1, 2, 3, 6, 10, 11, 12, 18, 30, 42, 78, 106, 210, 366, 550, 603, 750, 1290, 2562, 4398, 4305, 7470, 9090, 14322, 24558, 35382, 55482, 78020, 141190, 207519, 301642, 429870, 552693, 684846, 1060710, 1391390, 2385246, 3454044
Offset: 0

Views

Author

N. J. A. Sloane, May 01 2013

Keywords

Comments

a(26) >= 55482. a(27) >= 78020. - R. J. Mathar, May 05 2013

References

  • M. Lal, H. Wareham and R. Mifflin, Iterates of the bi-unitary totient function, Utilitas Math., 10 (1976), 347-350.

Crossrefs

Extensions

a(26)-a(37) from Donovan Johnson, Dec 07 2013

A225176 Number of numbers which require n iterations of the bi-unitary totient function (A116550) to reach 1.

Original entry on oeis.org

1, 1, 1, 2, 3, 2, 2, 4, 7, 6, 13, 12, 16, 24, 31, 51, 66, 87, 126, 139, 187, 260, 331, 412, 551, 693
Offset: 1

Views

Author

N. J. A. Sloane, May 01 2013

Keywords

References

  • M. Lal, H. Wareham and R. Mifflin, Iterates of the bi-unitary totient function, Utilitas Math., 10 (1976), 347-350.

Crossrefs

Showing 1-5 of 5 results.