Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A070991
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A070991 Numbers n such that the trajectory of n under the `3x+1' map reaches (n-1). +0
1
2, 3, 5, 6, 9, 11, 14, 17, 18, 39, 41, 47, 54, 57, 59, 62, 71, 81, 89, 107, 108, 161, 252, 284, 378, 639, 651, 959, 977, 1368, 1439, 1823, 2159, 2430, 2735, 3239, 4103, 4617, 4859, 6155, 7289, 9233 (list; graph; listen)
OFFSET

1,1

COMMENT

From Collatz conjecture, the trajectory of n never reaches n again. Is this sequence finite?

EXAMPLE

Trajectory of 39 is : (118,59,178,89,268,134,67,202,101,304,152,76,38,19,58,29,88,44,22,11,34,17,52,26,13,40,20,10,5,16,8,4,2,1) and 39-1=38 is reached, hence 39 is in the sequence.

PROGRAM

(PARI) for(n=1, 10000, s=n; t=0; while(s!=1, t++; if(s%2==0, s=s/2, s=3*s+1); if(s==n-1, print1(n, ", "); ); ))

CROSSREFS

Sequence in context: A104214 A046657 A102825 this_sequence A008747 A054639 A070757

Adjacent sequences: A070988 A070989 A070990 this_sequence A070992 A070993 A070994

KEYWORD

easy,nonn

AUTHOR

Benoit Cloitre and Boris Gourevitch (benoit7848c(AT)orange.fr/boris(AT)pi314.net), May 18 2002

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 December 20 16:54 EST 2009. Contains 171081 sequences.


AT&T Labs Research