Jump to content

Talk:First perfect square in base n with n unique digits: Difference between revisions

m
Line 188:
As a hint to other entry authors: here is how to easily determine a minimum start value analytically. This will work correctly for any base up to 36, but is kind of pointless below base 10 as brute force is probably faster than doing the calculation.
 
Note: I would not have figurefigured this out without the above analysis by Hout and Nigel Galloway. Kudos to both of them.
 
Here is a Perl 6 script showing each step spelled out: [https://tio.run/##fVO9btswEN79FBdDqGXXIqIUSFAbcYqiS4dORae6CSj7ZLOQSJWUmhiG8lBdu@XF3KMoypYDlINEUXf3/dyxQJ1dHw6mSmAtNqLkWaSVKiEMmpcwsFLFbgqzIOEGx7AfAC3389a92UrlCct5Ee5n767D4GFcj5mpcmYzwjbvcSsy9PFbrg0sIJ4fi7GCzjA6SZkP6sHA8kqFNmVkflVcI4SfZQmB9EQM38FoMoInuHk/706GH6kARUEUwTeDBsotQqGMEQmRaHSa2fAYn@/ggym5tpLSjJcwikdTGF3SI7wCxu4t4svfVpAkakeopfzkfIPGE5USmDIdCgynTSxBONMI4tToEML7fnH2UwlJhvtv@A@ccXjoPLKKZZUnSO4KCYkz4Vyoy7slZYxZONu4ycufZjODfZ9d8NDx6lGCuk/qi5Air3JKTlPUKFdome0DWUdNPWdOqlUOSuIr1uuepoWzyhO31qk0NWjbkwsZOglso5EIT3w4kYrcrqVWaGFnpUv1u4VFvLuDS7i48IfnrRVpF@4GrdMKEO4blLdtQO1hjxDjpVzKr2oKNErcUrbeTBvJJudZhqS6mTchN/CbZxXCo8gykIhr4BLwqdTcF2tdsMsN6ffYQ/84UfX8@q9LrAEzGoQzGY4hSNWCuXEFs1VVtoYEicsKjeF6x1oC9UnDfbvdpWkU2ElvKTQTTEZSBnvTu72p0hDf0I2Cq3h@OPwD Try it online!]
10,333

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.