login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A090691 5x - 1 sequence starting at 50. 1
50, 25, 124, 62, 31, 154, 77, 384, 192, 96, 48, 24, 12, 6, 3, 14, 7, 34, 17, 84, 42, 21, 104, 52, 26, 13, 64, 32, 16, 8, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1, 4, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(1) = 50, a(n+1) = a(n)/2 if a(n) even, otherwise 5*a(n) - 1.
MATHEMATICA
NestList[If[EvenQ[#], #/2, 5# - 1] &, 50, 100] (* Alonso del Arte, Aug 12 2016 *)
PROG
(Magma) [n eq 1 select 50 else IsOdd(Self(n-1)) select 5*Self(n-1)-1 else Self(n-1) div 2: n in [1..80]]; // Vincenzo Librandi, Aug 21 2016
CROSSREFS
Cf. A008880.
Sequence in context: A072460 A248128 A033370 * A033980 A342903 A207149
KEYWORD
nonn,easy
AUTHOR
Daniil Khanin (daniil(AT)ispms.tsc.ru), Feb 06 2004
EXTENSIONS
More terms from Ray Chandler, Feb 08 2004
New definition by Alonso del Arte, Aug 12 2016
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 05:47 EDT 2024. Contains 372300 sequences. (Running on oeis4.)