View Single Post
Old 2020-11-20, 02:20   #18
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·3·599 Posts
Default

Quote:
Originally Posted by Kebbaj View Post
for a = 3 the numbers found all end with 63:
[177655186463, 3]
[286748218763, 3]
[340473667463, 3]
so I added an "if ((n-floor (n / 100) * 100) == 63" , to find only the numbers that end with 63.
You could have done n%100==63 instead.

Anyway thanks.

With the counterexample [62611454518799, 9] I need to go back to the drawing board.

I had a PM for Dr. Sardonicus, wherein he describes a method to generate counterexamples for a=4. Perhaps he will post his method here.
paulunderwood is offline   Reply With Quote