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.

A327500 Number of steps to reach a fixed point starting with n and repeatedly taking the quotient by the maximum divisor whose prime multiplicities are distinct (A327498, A327499).

Original entry on oeis.org

0, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 2, 2, 2, 2, 1, 2, 2, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 2, 3, 1, 1, 2, 3, 1, 1, 1, 2, 1, 1, 2, 3, 1, 1, 1, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 2, 1, 3, 1, 1, 3
Offset: 1

Views

Author

Gus Wiseman, Sep 16 2019

Keywords

Comments

A number's prime multiplicities are also called its (unsorted) prime signature. Numbers whose prime multiplicities are distinct are A130091.

Examples

			We have 9282 -> 546 -> 42 -> 6 -> 2 -> 1, so a(9282) = 5.
		

Crossrefs

See link for additional cross-references.
Position of first appearance of n is A002110(n).
Cf. also A327503.

Programs

  • Mathematica
    Table[Length[FixedPointList[#/Max[Select[Divisors[#],UnsameQ@@Last/@FactorInteger[#]&]]&,n]]-2,{n,100}]
  • PARI
    A351564(n) = issquarefree(factorback(apply(e->prime(e),(factor(n)[,2]))));
    A327499(n) = fordiv(n,d,if(A351564(n/d), return(d)));
    A327500(n) = { my(u=A327499(n)); if(u==n, 0, 1+A327500(u)); }; \\ Antti Karttunen, Apr 02 2022

Extensions

Data section extended up to 105 terms by Antti Karttunen, Apr 02 2022