Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A036459
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A036459 Number of iterations required to reach stationary value when repeatedly applying d, the number of divisors function (A000005). +0
6
0, 0, 1, 2, 1, 3, 1, 3, 2, 3, 1, 4, 1, 3, 3, 2, 1, 4, 1, 4, 3, 3, 1, 4, 2, 3, 3, 4, 1, 4, 1, 4, 3, 3, 3, 3, 1, 3, 3, 4, 1, 4, 1, 4, 4, 3, 1, 4, 2, 4, 3, 4, 1, 4, 3, 4, 3, 3, 1, 5, 1, 3, 4, 2, 3, 4, 1, 4, 3, 4, 1, 5, 1, 3, 4, 4, 3, 4, 1, 4, 2, 3, 1, 5, 3, 3, 3, 4, 1, 5, 3, 4, 3, 3, 3, 5, 1, 4, 4 (list; graph; listen)
OFFSET

1,4

COMMENT

Iterating d for n, the prestationary prime and finally the fixed value of 2 is reached in different number of steps; a[ n ] is the number of required iterations.

FORMULA

a(n) = a(d(n)) + 1. A036459(n) = 1 iff n is an odd prime.

EXAMPLE

If n=8, then d[ 8 ]=4, d[ d[ 8 ] ]=3, d[ d[ d[ 8 ] ] ]=2, which means that a[ n ]=3. In terms of number of steps to converge the distance of n from the d-equilibrium is expressed by a[ n ]. Similar method is used in A018194.

MATHEMATICA

Table[ Length[ FixedPointList[ DivisorSigma[0, # ] &, n]] - 2, {n, 105}] (from Robert G. Wilson v Mar 11 2005)

PROGRAM

(PARI) for(x = 1, 150, for(a=0, 15, if(a==0, d=x, if(d<3, print(a-1), d=numdiv(d) )) ))

CROSSREFS

Equals A060937 - 1. Cf. A007624, A036450, A046452, A036453, A036455, A030630.

Sequence in context: A104984 A083868 A128199 this_sequence A079167 A032741 A046051

Adjacent sequences: A036456 A036457 A036458 this_sequence A036460 A036461 A036462

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu)

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research