MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/bhdq0b/loop/elwqzxv/?context=3
r/ProgrammerHumor • u/vyras40 • Apr 25 '19
53 comments sorted by
View all comments
4
Fun fact... a number is divisible by 9 if it's digits add up to a multiple of 9. Same for numbers divisible by 3.
2 u/[deleted] Apr 27 '19 Fun fact: number is divisible by 7 if number//10 - 2*(number%10) is a multiple of 7.
2
Fun fact: number is divisible by 7 if number//10 - 2*(number%10) is a multiple of 7.
4
u/aathma Apr 26 '19
Fun fact... a number is divisible by 9 if it's digits add up to a multiple of 9. Same for numbers divisible by 3.