Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #Life 1.05
  2. #D Irrational 5
  3. #D Population growth is linear with an irrational multiplier.
  4. #D Each middleweight spaceship produced by the puffers either hits a
  5. #D boat or is deleted by a glider.  Denoting the first possibility by
  6. #D 1 and the second by 0, we obtain a sequence beginning 101011011010...
  7. #D If we prepend 101, we obtain the Fibonacci string sequence, defined
  8. #D by starting with 1 and then repeatedly replacing each 0 by 1 and each
  9. #D 1 by 10:  1 -> 10 -> 101 -> 10110 -> 10110101 -> ...  (See Knuth's
  10. #D "The art of computer programming, vol. 1", exercise 1.2.8.36 for
  11. #D another definition.)  The density of 1's in this sequence is
  12. #D (sqrt(5)-1)/2,  which implies that the population in gen t is
  13. #D asymptotic to  (8 - 31 sqrt(5)/10) t.  More specifically, the
  14. #D population in gen  20 F[n] - 92  (n>=6)  is 98 F[n] - 124 F[n-1] + 560,
  15. #D where  F[n]  is the n'th Fibonacci number.  (F[0]=0,  F[1]=1,  and
  16. #D F[n] = F[n-1] + F[n-2]  for  n>=2.)
  17. #D Dean Hickerson, dean@ucdmath.ucdavis.edu  5/12/91
  18. #N
  19. #P -67 -32
  20. ..**
  21. .****
  22. **.**
  23. .**
  24. .
  25. .
  26. .
  27. ....*
  28. ...*
  29. ..**
  30. ...**
  31. ....*
  32. .
  33. .
  34. ..**
  35. .****
  36. **.**
  37. .**
  38. #P -62 -25
  39. *
  40. .*
  41. .*
  42. ..*
  43. ***
  44. #P -58 -31
  45. ****
  46. *...*
  47. *
  48. .*..*
  49. #P -57 -26
  50. ....**
  51. ....**
  52. ..*...*
  53. .*...*
  54. *....*
  55. .*.*
  56. #P -49 -16
  57. ..**
  58. .****
  59. **.**
  60. .**
  61. #P -58 -8
  62. .**
  63. **.**
  64. .****
  65. ..**
  66. .
  67. .
  68. ....*
  69. ...**
  70. ..**
  71. ...*
  72. ....*
  73. .
  74. .
  75. .
  76. .**
  77. **.**
  78. .****
  79. ..**
  80. #P -53 -2
  81. **
  82. ...*
  83. .*.*
  84. ....*
  85. *..*
  86. ...*
  87. .*
  88. #P -49 5
  89. .*
  90. *
  91. *...*
  92. ****
  93. #P -73 10
  94. .**
  95. **.**
  96. .****
  97. ..**
  98. .
  99. .
  100. ....*
  101. ...**
  102. ..**.*
  103. ...*.*
  104. ....**
  105. .
  106. .
  107. .
  108. .**
  109. **.**
  110. .****
  111. ..**
  112. #P -64 16
  113. ...***
  114. .....*
  115. ...***
  116. ***
  117. #P -64 9
  118. .*
  119. *
  120. *...*
  121. ****
  122. #P -56 25
  123. ..**
  124. .****
  125. **.**
  126. .**
  127. #P -48 21
  128. .**
  129. **
  130. ..*
  131. #P -43 16
  132. .**
  133. **
  134. ..*
  135. #P -38 11
  136. .**
  137. **
  138. ..*
  139. #P -33 6
  140. .**
  141. **
  142. ..*
  143. #P -28 1
  144. .**
  145. **
  146. ..*
  147. #P -40 -10
  148. .**
  149. **.**
  150. .****
  151. ..**
  152. #P -26 -12
  153. ....*
  154. .....*
  155. *....*
  156. .*****
  157. #P -17 -3
  158. .**
  159. **.**
  160. .****
  161. ..**
  162. .
  163. .
  164. ....*
  165. ...**
  166. ..**
  167. ...**
  168. .
  169. .
  170. .
  171. .
  172. .**
  173. **.**
  174. .****
  175. ..**
  176. #P -8 -4
  177. .*
  178. *
  179. *...*
  180. ****
  181. #P -5 -16
  182. ...*
  183. ....*
  184. *...*
  185. .****
  186. #P 1 12
  187. ..**
  188. .****
  189. **.**
  190. .**
  191. #P 5 1
  192. ..**
  193. **.**
  194. ****
  195. .**
  196. #P 13 -13
  197. .****
  198. *...*
  199. ....*
  200. ...*
  201. .
  202. .
  203. .*
  204. ..*
  205. ..*
  206. .**
  207. *
  208. .
  209. .
  210. .
  211. .****
  212. *...*
  213. ....*
  214. ...*
  215. #P 22 9
  216. .**
  217. **.***
  218. .*****
  219. ..***
  220. #P 26 -3
  221. ..*
  222. *.*
  223. .**
  224. #P 31 -8
  225. ..*
  226. *.*
  227. .**
  228. #P 36 -13
  229. ..*
  230. *.*
  231. .**
  232. #P 41 -18
  233. ..*
  234. *.*
  235. .**
  236. #P 46 -23
  237. ..*
  238. *.*
  239. .**
  240. #P 52 -29
  241. ...*
  242. ....*
  243. *...*
  244. .****
  245. #P 36 8
  246. .****
  247. *...*
  248. ....*
  249. ...*
  250. #P 69 -26
  251. .****
  252. *...*
  253. ....*
  254. ...*
  255. .
  256. .
  257. **
  258. *.*
  259. ..*
  260. ***
  261. .
  262. .
  263. .
  264. .
  265. .****
  266. *...*
  267. ....*
  268. ...*
  269. #P 60 -20
  270. ....**
  271. ..*
  272. .*..*
  273. **
  274. .**
  275. #P 61 -12
  276. ..**
  277. **.**
  278. ****
  279. .**
  280. #P 54 -8
  281. .****
  282. *...*
  283. ....*
  284. *..*
  285. .
  286. .
  287. **
  288. ..*
  289. ..*
  290. .**
  291. *
  292. .
  293. .
  294. .
  295. .****
  296. *...*
  297. ....*
  298. ...*
  299. #P 51 -3
  300. .**
  301. ***
  302. *
  303. ***
  304. .*
  305. ..*
  306. #P 46 -8
  307. ..**
  308. **.**
  309. ****
  310. .**
  311. #P 45 12
  312. ...*
  313. ....*
  314. *...*
  315. .****
  316. #P 63 14
  317. ...*
  318. ....*
  319. *...*
  320. .****
  321. .
  322. .
  323. .
  324. *
  325. .**
  326. ..*
  327. ..*
  328. **
  329. .
  330. .
  331. ...*
  332. ....*
  333. *...*
  334. .****
  335. #P 61 21
  336. .*
  337. **
  338. .*
  339. .*
  340. #P 52 21
  341. .....*
  342. ..****
  343. .*****
  344. *
  345. .**
  346. ..*
  347. #P 55 28
  348. .**
  349. ****
  350. **.**
  351. ..**
  352.