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

Home > Numbers
n-Pandigital and k-Divisible (Posted on 2023-10-08) Difficulty: 3 of 5
For n in {1,2,...,9}, find all n-digit positive integers, which are
(1) n-pandigital, i.e. formed from a permutation of the digits 1 to n, with no repeat digits; and
(2) k-divisible, i.e. for all k, k ≤ n, the integer formed from the truncated left most k digits is evenly divisible by k.

And for n=10, also find all 10-digit pandigitals with the same second condition.

Example: 2136547 almost qualifies, but fails for k=2.
2136547 is divisible by 7
213654 is divisible by 6
21365 is divisible by 5
2136 is divisible by 4
213 is divisible by 3
21 is not divisible by 2
2 is divisible by 1

No Solution Yet Submitted by Larry    
No Rating

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Solutioncomputer solutionCharlie2023-10-08 12:58:55
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