Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120684
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120684 Let f(0)=m; f(n+1)=1+lpf(f(n)), where lpf(n) is the largest prime factor of n (A006530). For any m, for sufficiently large n the sequence f(n) oscillates between 3 and 4. Given a sufficently large n, this allows us to divide integers in two classes: C3 (m such that f(n)=3) and C4 (m such that f(n)=4). Note that then for n+1 the ones that belong to C3 will belong to C4 and vice-versa. Anyhow the two classes are independent of n. We present here C3 as the one that includes 3. In A120685 we present C4 as the one that includes 4. +0
5
3, 6, 7, 9, 12, 14, 18, 19, 21, 24, 27, 28, 29, 31, 35, 36, 38, 42, 43, 48, 49, 54, 56, 57, 58, 59, 62, 63, 67, 70, 72, 73, 76, 79, 81, 84, 86, 87, 89, 93, 95, 96, 98, 101, 103, 105, 108, 109, 112, 114, 116, 118, 124, 126, 127, 129, 131, 133, 134, 137, 140, 144, 145, 146 (list; graph; listen)
OFFSET

0,1

EXAMPLE

Oscillation between 3 and 4: 1+lpf(3)=1+3=4; 1+lpf(4)=1+2=3;

Other value, e.g. 7: 1+lpf(7)=1+7=8; 1+lpf(8)=1+2=3 (7 belongs to C3)

Other value, e.g. 20: 1+lpf(10)=1+5=6; 1+lpf(6)=1+3=4 (20 belongs to C4).

MATHEMATICA

f = Function[n, FactorInteger[n][[ -1, 1]] + 1]; mn = Map[(NestList[f, #, 8][[ -1]]) &, Range[2, 500]]; out = Flatten[Position[mn, 3]] + 1

CROSSREFS

Cf. A072268, A006530.

Sequence in context: A083951 A131392 A131397 this_sequence A026227 A026232 A061641

Adjacent sequences: A120681 A120682 A120683 this_sequence A120685 A120686 A120687

KEYWORD

nonn

AUTHOR

Carlos Alves (cjsalves(AT)gmail.com), Jun 25 2006

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