Re: Problem 064
Posted: Wed Jul 08, 2015 8:45 am
I used python programming and am getting right answer for N <=13 and also the below 4 numbers are giving me the correct numbers.
9993: 94
9994: 70
9995: 4
9996: 4
9997: 59
So, i assume my logic is correct and i guess my incrementing stuff is going wrong . Bcoz PE is showing my answer as incorrect.
Just to add clarity of what i did .
<algorithm removed by moderator>
But, my final answer is not correct. Not sure why . Is there any flaw in my approach ?
9993: 94
9994: 70
9995: 4
9996: 4
9997: 59
So, i assume my logic is correct and i guess my incrementing stuff is going wrong . Bcoz PE is showing my answer as incorrect.
Just to add clarity of what i did .
<algorithm removed by moderator>
But, my final answer is not correct. Not sure why . Is there any flaw in my approach ?