Jan-16-2024, 08:33 AM
(This post was last modified: Jan-16-2024, 08:35 AM by Gribouillis.)
(Jan-16-2024, 06:57 AM)DPaul Wrote: I'm interested in the result, so here is my solution (True = open),I think the result is True if the number of divisors of n is odd. The number of divisors of a number is given by the sequence https://oeis.org/A000005. This page says
Anybody. ?
oeis.org Wrote:a(n) is odd iff n is a square.All of this needs to be clarified.
This page also contains a python code that uses sympy to get the number of divisors of a number.
« We can solve any problem by introducing an extra level of indirection »