Guest User

Untitled

a guest
Feb 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. n = 20
  2. Non-coprimes of current n in previous solution set = [15, 16]
  3. Prime factors of n [2, 5]
  4. Prime factors of non-coprimes of n: [2, 3, 5]
  5. Unique prime factors of non-coprimes not found in n = [3]
  6. does 29 (20+9) beat noncoprime sum 31?
  7. Nope. Do nothing, carry on, people.
  8. n = 20, solution = [1, 7, 11, 13, 15, 16, 17, 19], sum = 99
  9.  
  10. n = 21
  11. Non-coprimes of current n in previous solution set = [7, 15]
  12. Prime factors of n [3, 7]
  13. Prime factors of non-coprimes of n: [3, 5, 7]
  14. Unique prime factors of non-coprimes not found in n = [5]
  15. does 26 (21+5) beat noncoprime sum 22?
  16. Yes, so add both 21 and 5 to the solution set and remove any noncoprimes.
  17. n = 21, solution = [1, 5, 11, 13, 16, 17, 19, 21], sum = 103
Add Comment
Please, Sign In to add comment