login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A019269 Let Dedekind's psi(m) = product of (p+1)p^(e-1) for primes p, where p^e is a factor of m. Iterating psi(m) eventually results in a number of form 2^a*3^b. a(n) is the number of steps to reach such a number. 5
0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 2, 1, 1, 0, 1, 0, 2, 1, 1, 1, 1, 0, 2, 2, 0, 1, 2, 1, 1, 0, 1, 1, 1, 0, 3, 2, 2, 1, 2, 1, 2, 1, 1, 1, 1, 0, 2, 2, 1, 2, 1, 0, 1, 1, 2, 2, 2, 1, 2, 1, 1, 0, 2, 1, 2, 1, 1, 1, 1, 0, 4, 3, 2, 2, 1, 2, 2, 1, 0, 2, 2, 1, 1, 2, 2, 1, 2, 1, 2, 1, 1, 1, 2, 0, 3, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,13
COMMENTS
a(A019268(n)) = n and a(m) <> n for m < A019268(n). [Reinhard Zumkeller, Apr 12 2012]
REFERENCES
Peter Giblin, "Primes and Programming - an Introduction to Number Theory with Computation", page 118.
R. K. Guy, "Unsolved Problems in Number Theory", section B41.
LINKS
MATHEMATICA
psi[n_] := Module[{pp, ee}, {pp, ee} = Transpose[FactorInteger[n]]; If[Max[pp] == 3, n, Times @@ (pp+1)*Times @@ (pp^(ee-1))]];
a[n_] := Length[NestWhileList[psi, n, FactorInteger[#][[-1, 1]] > 3&]] - 1;
a /@ Range[99] (* Jean-François Alcover, Jan 18 2020 *)
PROG
(Haskell)
a019269 n = snd $ until ((== 1) . a065333 . fst)
(\(x, i) -> (a001615 x, i+1)) (n, 0)
-- Reinhard Zumkeller, Apr 12 2012
CROSSREFS
Sequence in context: A305445 A225721 A040076 * A204459 A035155 A090584
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 16 12:46 EDT 2024. Contains 375174 sequences. (Running on oeis4.)