login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A008899 x -> x/2 if x even, x -> 3x - 1 if x odd. 0
87, 260, 130, 65, 194, 97, 290, 145, 434, 217, 650, 325, 974, 487, 1460, 730, 365, 1094, 547, 1640, 820, 410, 205, 614, 307, 920, 460, 230, 115, 344, 172, 86, 43, 128, 64, 32, 16, 8, 4, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

REFERENCES

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

LINKS

Table of n, a(n) for n=0..48.

Index entries for linear recurrences with constant coefficients, signature (0, 1).

EXAMPLE

87 is odd, so it's followed by 3 * 87 - 1 = 260.

260 is even, so it's followed by 260/2 = 130.

MATHEMATICA

NestList[If[EvenQ[#], #/2, 3# - 1] &, 87, 100] (* Alonso del Arte, Aug 22 2017 *)

CROSSREFS

Cf. A008879.

Sequence in context: A133524 A304509 A020314 * A008879 A186063 A186055

Adjacent sequences:  A008896 A008897 A008898 * A008900 A008901 A008902

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

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 July 17 03:07 EDT 2019. Contains 325092 sequences. (Running on oeis4.)