login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A006460 Image of n after 3k iterates of `3x+1' map (k large).
(Formerly M0304)
3
1, 2, 2, 4, 4, 4, 2, 1, 2, 1, 4, 1, 1, 4, 4, 2, 1, 4, 4, 2, 2, 1, 1, 2, 4, 2, 1, 1, 1, 1, 2, 4, 4, 2, 2, 1, 1, 1, 2, 4, 2, 4, 4, 2, 2, 2, 4, 4, 1, 1, 1, 4, 4, 2, 2, 2, 4, 2, 4, 2, 2, 4, 4, 1, 1, 1, 1, 4, 4, 4, 1, 2, 2, 2, 4, 2, 2, 4, 4, 1, 2, 4, 4, 1, 1, 1, 1, 4, 1, 4, 4, 4, 4, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

For n>2: a(n) = if L=0 then 4 else L, where L = A139399(n) mod 3. - Reinhard Zumkeller, Nov 16 2013

REFERENCES

R. K. Guy, Unsolved Problems in Number Theory, E16.

N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

M. Elia, Letter to N. J. A. Sloane, Jun. 1981

J. C. Lagarias, The 3x+1 problem and its generalizations, Amer. Math. Monthly, 92 (1985), 3-23.

Index entries for sequences related to 3x+1 (or Collatz) problem

PROG

(Haskell)

a006460 = f 0 where

   f k x | mod k 3 == 0 && x `elem` [1, 2, 4] = x

         | otherwise                          = f (k+1) (a006370 x)

-- Reinhard Zumkeller, Nov 16 2013

CROSSREFS

Cf. A006370, A076052 (partial sums).

Sequence in context: A231731 A143358 A143729 * A064137 A329588 A104202

Adjacent sequences:  A006457 A006458 A006459 * A006461 A006462 A006463

KEYWORD

nonn,nice

AUTHOR

N. J. A. Sloane.

EXTENSIONS

More terms from Larry Reeves (larryr(AT)acm.org), Apr 27 2001

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 16 05:41 EDT 2021. Contains 348035 sequences. (Running on oeis4.)