A172164 Differences between numbers of triangles entirely contained in two consecutive turns of Pythagoras's snail (Theodorus spiral).
20, 19, 20, 19, 20, 21, 18, 21, 19, 20, 20, 20, 19, 20, 20, 19, 20, 20, 20, 19, 21, 18, 21, 19, 21, 18, 21, 19, 21, 18, 21, 19, 20, 20, 20, 19, 20, 20, 19, 20, 20, 20, 19, 20, 20, 20, 19, 21, 18, 21, 19, 20, 20, 20, 19, 20, 20, 20, 19, 20, 20, 19, 20, 20, 20, 19, 21, 18, 21
Offset: 2
Keywords
Examples
In the first turn, 16 triangles are complete. In the 2nd turn, there are 36 triangles completely included. The difference is 20.
Programs
-
Mathematica
(* Obtain the sequence of A072895 and set it equal to lst. *); Differences[lst, 2] (* Robert G. Wilson v, Mar 31 2013 *)
-
Python
# See A137515 for Python code, and then OooCalc for more.
Formula
The second forward difference of A072895. - Robert G. Wilson v, Mar 31 2013
Comments