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

Home > Numbers
Plus operator insertion (Posted on 2021-05-03) Difficulty: 2 of 5
How many ways are there to insert plus signs + between the digits of number 111111 ...111 which includes thirty of digits 1 so that the result will be a multiple of 30?

No Solution Yet Submitted by Danish Ahmed Khan    
Rating: 3.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution solution | Comment 1 of 2
The total will automatically be a multiple of 3 by its digital root total being conserved, so we need worry only about the sum being a multiple of 10. The number of addends needs to be a multiple of 10, so the number of + signs needs to be one less than a multiple of 10.

You can insert 9, 19 or 29 + signs, and there are 29 places between available for them, only one + or no + between any two 1's.

C(29,9) =  10015005
C(29,19) = 20030010 
C(29,29) =        1
           --------
  total =  30045016    ways.

  Posted by Charlie on 2021-05-03 08:52:43
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 (0)
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