All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Algorithms
Seventeen Divisibility Surmise (Posted on 2023-03-04) Difficulty: 3 of 5
Devise an algorithm to find all possible values of a positive integer N ≤ 20220 that simultaneously satisfies the following conditions:
  1. N is divisible by 17
  2. The sum of digits of N is divisible by 17.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: Two algorithms Comment 2 of 2 |
(In reply to Two algorithms by Brian Smith)

That second algorithm is very clever, Brian.

  Posted by Larry on 2023-03-04 10:36:49

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (4)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information