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

Home > Just Math
Divisible by 11,111 (Posted on 2008-10-02) Difficulty: 2 of 5
How many positive 10-digit integers of the form ABCDEFGHIJ, with non leading zeroes and each letter representing a different base 10 digit from 0 to 9, are divisible by 11,111 ?

Note : Try to solve this problem analytically, although computer program/ spreadsheet solutions are welcome.

See The Solution Submitted by K Sengupta    
Rating: 3.2500 (4 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution perl(computer) solution | Comment 5 of 7 |
i solved it with a perl script.
perl -le'$x=11_111; for(my $i=1;$i*$x < 9876543210; $i++) { print $x*$i }' | perl -ne'print if /0/&&/1/&&/2/&&/3/&&/4/&&/5/&&/6/&&/7/&&/8/&&/9/' | perl -pe'$i++}{$_=$i'

in the first section i form the list of all the multiples of 11,111, and in the second part, i eliminate the non-pandigital numbers, and in the third, i count them.

  Posted by Pete on 2008-10-02 13:25:08
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 (15)
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