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

 

Logo

The October issue of the Notices of the Amer. Math. Soc. has an article about the OEIS.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A090691 5x - 1 sequence starting at 50. 0
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

Table of n, a(n) for n=1..90.

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 A207149 A207142

Adjacent sequences:  A090688 A090689 A090690 * A090692 A090693 A090694

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 24 22:27 EDT 2018. Contains 315360 sequences. (Running on oeis4.)