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

Home > Algorithms
Lexicographic Listing (Posted on 2022-05-29) Difficulty: 3 of 5
N is a positive integer divisible by 7, and N does NOT contain the digit 9.

Devise an algorithm to lexicographically list all valid values of N ≤ 2022.

No Solution Yet Submitted by K Sengupta    
Rating: 4.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
technicality re the Roman Numeral answer Comment 3 of 3 |
Once converted to a Roman Numeral, no integer can contain the digit 9, only letters.  So technically, multiples of 7 such as 49, 91 etc could still be on the list as XLIX and XCI
  Posted by Larry on 2022-05-30 05:48:21
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 (6)
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