+ 14
https://code.sololearn.com/csXTHzWUuqiz/?ref=app
+ 4
heres my functional 1 liner
https://code.sololearn.com/c8bW9xj7YwbC/?ref=app
+ 3
https://code.sololearn.com/crGHXawXbrRe/?ref=app
+ 2
Next version - without checking to all candidates for dividers:
https://code.sololearn.com/cZ4tOSc7xyJs/?ref=app
+ 2
This is another implementation of my idea
https://code.sololearn.com/cAlorPVckBND/?ref=app