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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097927 If a(n-1) is divisible by 2 then a(n) = a(n-1)/2. If a(n-1) is not divisible by 2 then a(n) = 47-(a(n-1)+1)/2; b(0)=1. 0
1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23, 35, 29, 32, 16, 8, 4, 2, 1, 46, 23 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

The old entry with this sequence number was a duplicate of A097945.

FORMULA

Periodic with period of length 10.

MAPLE

a:=proc(n) option remember; local k; k:=47;

if n=0 then RETURN(1); fi;

if a(n-1) mod 2 = 0 then RETURN(a(n-1)/2); fi;

RETURN(k-(a(n-1)+1)/2); end;

CROSSREFS

Sequence in context: A036204 A051161 A033366 * A033978 A060958 A094892

Adjacent sequences:  A097924 A097925 A097926 * A097928 A097929 A097930

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Sep 25 2008, based on email from Zak Seidov, May 12 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 02:48 EST 2012. Contains 205978 sequences.