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

Home > Probability
Product Crossed Square Settlement (Posted on 2022-08-19) Difficulty: 3 of 5
N is a 7-digit positive integer whose product of the digits is 20160.

Determine the probability that the sum of the digits of N is a perfect square.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): Solution Comment 5 of 5 |
(In reply to re: Solution by Jer)

Yes, I absolutely misread the problem.
But after a correct reading of the problem and changing one line of code from
if isSquare(i):
to
if isSquare(sod(i)):
    
5040 28560 0.17647058823529413
The required probability is 0.17647058823529413

  Posted by Larry on 2022-08-20 08:13:24
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (11)
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