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.

  Submitted by K Sengupta    
Rating: 5.0000 (1 votes)
Solution: (Hide)
There are precisely 79 values within the given range that satisfy the given conditions.

For the algorithms, refer to the solution submitted by Brian Smith in this location.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
re: Two algorithmsLarry2023-03-04 10:36:49
SolutionTwo algorithmsBrian Smith2023-03-04 10:09:50
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