We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Mathematics
- Number Theory
- Equations
- Discussions
Equations
Equations
Sort by
recency
|
37 Discussions
|
Please Login in order to post a comment
Just a little point, the tests view 1/3 + 1/6, as a different solution from 1/6 + 1/3 (i.e with the x and y values swapped). I felt 1/3 + 1/6 & 1/6 + 1/3 to be the same solution.
I can't understand the problem. Can anyone explain it step by step? best tantrik in Madurai
!/bin/python3
import math import os import random import re import sys
isprime = [True] * 1000000 prime = [] SPF = [None] * 1000000 def manipulated_seive(N): # 0 and 1 are not prime isprime[0] = isprime[1] = False
def solve(n): # Write your code here manipulated_seive(n+1) power=[] for i in prime: lim=int(math.log(n,i)) s=sum([n//(i**j) for j in range(1,lim+1)]) power.append(s) result=1 for i in power: result*=2*i+1 return result%1000007
if name == 'main': fptr = open(os.environ['OUTPUT_PATH'], 'w')
Thanks for the mathematics problem solution on your forum and that would be great help as well. The students who are facing the problems about and need the solution can get the answer here easily. Thumbs up and please do share research paper writing services uk further sharing must visit for more.