Madmouse

Stage one of my exploration of Ulams spiral complete :D

Oct 21st, 2014
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. |100|099|098|097|096|095|094|093|092|091|
  2. |065|064|063|062|061|060|059|058|057|090|
  3. |066|037|036|035|034|033|032|031|056|089|
  4. |067|038|017|016|015|014|013|030|055|088|
  5. |068|039|018|005|004|003|012|029|054|087|
  6. |069|040|019|006|001|002|011|028|053|086|
  7. |070|041|020|007|008|009|010|027|052|085|
  8. |071|042|021|022|023|024|025|026|051|084|
  9. |072|043|044|045|046|047|048|049|050|083|
  10. |073|074|075|076|077|078|079|080|081|082|
  11.  
  12.  
  13.  
  14.  
  15. o = 1
  16. f1(n) = n^2-n+o
  17. 1, 3, 7, 13, 21, 31, 43, 57, 73, 91
  18.  
  19. f2(n) = n^2+o
  20. 2, 5, 10, 17, 26, 37, 50, 65, 82
  21.  
  22. f3(n) = 4*n^2-3*n+o
  23. 2, 11, 28, 53, 86
  24.  
  25. f4(n) = 4*n^2+3*n+o
  26. 8, 23, 46, 77
  27.  
  28. f5(n) = 4*n^2-n+o
  29. 4, 15, 34, 61, 96
  30.  
  31. f6(n) = 4*n^2+n+o
  32. 6, 19, 40, 69
Advertisement
Add Comment
Please, Sign In to add comment