#26: Reciprocal Cycles - Project Euler

Поділитися
Вставка
  • Опубліковано 29 гру 2024

КОМЕНТАРІ •

  • @avinashsorab5026
    @avinashsorab5026 2 роки тому +1

    you could have calculated all the primes and called find recurring only on those, wouldn't that be more efficient?

    • @bytethis3151
      @bytethis3151  2 роки тому

      Is there a property of the prime numbers which would guarantee that would have the longest recurring as opposed to some composite number over any input range?