Created
September 30, 2020 19:15
-
-
Save VladimirReshetnikov/22026ec09ab15684971c1a4133e20fc5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With[{s = Table[1 - Mod[Total[IntegerDigits[n, 3]], 3], {n, 0, 3000}]}, | |
Print[s[[;; 40]]]; | |
ListPlot[Nest[Accumulate, s, 6], Joined -> True, ImageSize -> Large]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment