%I M4300 #26 Oct 21 2023 19:58:59
%S 1,6,154,66344,15471166144,663447306235471066144,
%T 1547116614473162154311663447306215471066144
%N Octal formula for dragon curve of order n.
%C To generate A003460 as a binary sequence: Start with a(1)=1. To construct a(n) from a(n-1), concatenate a(n-1), 1, b(n-1) where b(n-1) is the same as a(n-1) except that the middle bit of a(n-1) is flipped. The actual sequence lists a(n) in octal rather than binary. Thus, starting with a(1) = 1, we form a(2) = (1)(1)(0) (which is 6 in octal). Next, a(2) = (110)(1)(100) (which is 154 in octal), and so on. - _Sean A. Irvine_, May 21 2015
%D M. Gardner, Mathematical Games, Sci. Amer. Vol. 216 (No. 4, Apr. 1967), p. 118.
%D M. Gardner, Mathematical Magic Show. Random House, NY, 1978, p. 216.
%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
%H Sean A. Irvine, <a href="/A003460/b003460.txt">Table of n, a(n) for n = 1..11</a>
%H D. J. Andrews, <a href="/A003460/a003460.pdf">Letters to N. J. A. Sloane, 1974</a>, with enclosures from Martin Gardner's column.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/DragonCurve.html">Dragon Curve</a>.
%K nonn
%O 1,2
%A _N. J. A. Sloane_
|