7 kyu
The Hyperfactorial
327 of 350оkabe
Description:
Description
In mathematics, and more specifically number theory, the hyperfactorial of a positive integer is the product of the numbers :
Check out this Wikipedia article for more detail
Your task
Implement a function hyperfact(num)
that takes a positive integer num
and returns the hyperfactorial of it.
In order for your answer not to be too messy (hyperfactorial of 100 is 9015 digits long) give the answer modulo 1000000007.
Notes
1 <= n <= 300
50
random tests
Mathematics
Stats:
Created | Sep 16, 2022 |
Published | Sep 16, 2022 |
Warriors Trained | 518 |
Total Skips | 11 |
Total Code Submissions | 644 |
Total Times Completed | 350 |
Python Completions | 327 |
Ruby Completions | 37 |
Total Stars | 4 |
% of votes with a positive feedback rating | 86% of 96 |
Total "Very Satisfied" Votes | 72 |
Total "Somewhat Satisfied" Votes | 21 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 48 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |