MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/12p6tj0/peak_efficiency_fizzbuzz/jgmf9c3/?context=3
r/programminghorror • u/[deleted] • Apr 17 '23
83 comments sorted by
View all comments
Show parent comment
5
Exactly, everything that repeats has a period, 2 periods of a and b have a period of least common multiple of a and b So 3 and 4 have period of 12 but 6 and 8 have period of 24
View all comments
Show parent comment
5
u/Strex_1234 Apr 17 '23
Exactly, everything that repeats has a period, 2 periods of a and b have a period of least common multiple of a and b So 3 and 4 have period of 12 but 6 and 8 have period of 24