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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A136615 Fold-switch-fold sequence defined by McFarlane and Withers for m=3: Let A(n) = If[Mod[A(n - 1), 2] == 0, A(n - 1)/2, (m - A(n - 1))2]; a(n)= If[ Mod[A(n - 1), 2] == 0, a(n - 1)/2, (Pi - a(n - 1))/2]. 0
1, 2, 0, 0, 0, 16, 16, 16, 112, 112, 112, 912, 912, 912, 7280, 7280, 7280, 58256, 58256, 58256, 466032, 466032, 466032, 3728272, 3728272, 3728272, 29826160, 29826160, 29826160, 238609296, 238609296, 238609296, 1908874352, 1908874352 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

REFERENCES

Cayanne McFarlane and Wm. Douglas Withers; Dynamical Systems and Irrational Angle Construction by Paper-Folding, American Mathematical Monthly, Volume 115, Number 4, 2008, page 356; http://www.maa.org/pubs/monthly_apr08_toc.html.

FORMULA

m=3,A(0)=1;a(1)=(m-1)/2; A(n) = If[Mod[A(n - 1), 2] == 0, A(n - 1)/2, (m - A(n - 1))2]; a(0) = Pi; a(1) = Pi; a(n)= If[ Mod[A(n - 1), 2] == 0, a(n - 1)/2, (Pi - a(n - 1))/2]; output=2^n*a(n)/Pi

MATHEMATICA

Clear[A, m, n] m = 3; A[0] = 1; A[1] = (m - 1)/2; A[n_] := A[n] = If[Mod[A[n - 1], 2] == 0, A[n - 1]/2, (m - A[n - 1])2]; a[0] = Pi; a[1] = Pi; a[n_] := a[n] = If[ Mod[A[n - 1], 2] == 0, a[n - 1]/2, (Pi - a[n - 1])/2]; Table[2^n*a[n]/Pi, {n, 0, 50}]

CROSSREFS

Sequence in context: A181502 A063698 A179677 * A029696 A118887 A057383

Adjacent sequences:  A136612 A136613 A136614 * A136616 A136617 A136618

KEYWORD

nonn

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Mar 31 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 15 15:20 EST 2012. Contains 205823 sequences.