Nov-09-2019, 06:57 PM
Hmmm. For you it seems to be fine. For me, my cd4.txt ends like this:
Output:9878, [0]
9879, [-165, 252, 81, 63, 27, -45, -9]
9880, [14625, 5598, 675, 54, 9]
9881, [10400, 1025, -416, 209, 737, 272, 275, 266, 224, 32, 5]
9882, [6993, 3645, -144, 81, 63, 27, -45, -9]
9883, [4368, -609, 945, 378, 378]
9884, [2465, -289, 817, 688, 88, 0]
I just can't figure out why. And if I use smaller ranges it won't go to file at all. The code obviously works as evidenced by your output. So why doesn't it here? Aggravating.