Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A003434
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A003434 Number of iterations of phi(n) needed to reach 1.
(Formerly M0244)
+0
20
0, 1, 2, 2, 3, 2, 3, 3, 3, 3, 4, 3, 4, 3, 4, 4, 5, 3, 4, 4, 4, 4, 5, 4, 5, 4, 4, 4, 5, 4, 5, 5, 5, 5, 5, 4, 5, 4, 5, 5, 6, 4, 5, 5, 5, 5, 6, 5, 5, 5, 6, 5, 6, 4, 6, 5, 5, 5, 6, 5, 6, 5, 5, 6, 6, 5, 6, 6, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 6, 5, 6, 7, 5, 7, 5, 6, 6, 7, 5, 6, 6, 6, 6, 6, 6, 7, 5, 6, 6, 7, 6, 7, 6, 6 (list; graph; listen)
OFFSET

1,3

REFERENCES

S. Sivasankaranarayana Pillai, On a function associated with phi(n), Bull. Amer. Math. Soc., 35 (1929), 837-841.

LINKS

T. D. Noe, Table of n, a(n) for n = 1..10000

FORMULA

By the definition of a(n) we have for n >= 2 the recursion a(n) = a(Phi(n)) + 1. - Ahmed Fares (ahmedfares(AT)my-deja.com), Apr 20 2001

EXAMPLE

If n=164 the trajectory is {164,80,32,16,8,4,2,1}. Its length is 8, thus a(164)=7.

MATHEMATICA

f[n_] := Length[ NestWhileList[ EulerPhi, n, Unequal, 2]] - 2; Table[ f[n], {n, 1, 105} ]

CROSSREFS

Cf. A000010, A007755. Equals A049108 - 1.

Sequence in context: A136510 A080071 A019569 this_sequence A097849 A100678 A026834

Adjacent sequences: A003431 A003432 A003433 this_sequence A003435 A003436 A003437

KEYWORD

nonn,easy,nice

AUTHOR

njas

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research