MatsGranvik

Frank Calegari Point counts IMU lecture

Jul 20th, 2022
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. https://www.youtube.com/watch?v=L0Z4Ng6ZJbY
  2.  
  3. "Mathematica:"
  4. (*start*)
  5. Clear[n, k];
  6. nn = 45;
  7. LeftHandSide = n^2;
  8. RightHandSide = 2;
  9. TableForm[{Table[
  10. Count[Table[Mod[LeftHandSide, Prime[k]], {n, 1, Prime[k]}],
  11. RightHandSide], {k, 1, nn}],
  12. Table[Prime[k], {k, 1, nn}]}]
  13. Table[Count[Table[Mod[LeftHandSide, Prime[k]], {n, 1, Prime[k]}],
  14. RightHandSide], {k, 1, nn}]
  15. (*end*)
  16.  
  17. 0, 0, 0, 2, 0, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 0, 0, 0, 2, 2, 2, 0, \
  18. 2, 2, 0, 2, 0, 0, 2, 2, 0, 2, 0, 0, 2, 0, 0, 2, 0, 0, 0, 2, 2, 0
Advertisement
Add Comment
Please, Sign In to add comment