No.1466 I am not genius.
タグ : / 解いたユーザー数 55
作問者 :
soraie_
Notice and Apology
This problem currently has a defect. We are very sorry.
The original text is left here as it is.
This problem was used in the contest while it had a defect. We sincerely apologize to all contestants.
Problem Statement (Original Text)
The function $f(x)$ is defined as follows:
$\Large{\displaystyle f(x) = x \times \sum_{n=0}^\infty \cfrac{a^n b!{}_{bn} \mathrm{P}_{max(0,\ bn - \{\mathrm{gcd}(d,l)\}^2)}\ (c+dn)}{l ^{n+k}(\frac{49}{22}bh)^n (({\varphi(b)^g})^n n!)^b} \times \left\{ \sqrt{ \cfrac{g^3}{h^{g^g}}} \sum_{n = 0}^\infty \cfrac{(bn)!(i+jn)}{((\frac{22}{49}l)^n n!)^b} \right\} ^ {a}}$
A real number x is given. Find the value of $f(x)$. Here, the values of $a,b,c,d,g,h,i,j,k,l$ above are those that make the following sentences correct. (Corrected 2021/04/02 21:39)
(Added 2021/04/02 21:40) In the formula above, $\varphi$ is Euler's $\varphi$ function.
(Fixed 2021/04/02 22:59) In the formula above,
the part ${}_{bn} \mathrm{P}_{\ bn - \{\mathrm{gcd}(d,l)\}^2}$ has been changed to
${}_{bn} \mathrm{P}_{max(0,\ bn - \{\mathrm{gcd}(d,l)\}^2)}$.
- Differentiating $\log_e{x}$ gives $x^a$
- $b$ is the square of the $k$-th smallest prime
- Emperor Sutoku ascended the throne in the year $c$ (AD)
- $\lfloor \log_{10}{d} \rfloor = b$
- The $g$-th yokozuna of grand sumo is Ayagawa Goroji
- The $h$-th Pope of Rome is Eugene II
- The $\cfrac{d}{116}$-th prime is $i$ (the daughter of Fujiwara no Sanesue died in the year $i$ (AD))
- The $j$-th prime is 304789
- The $k$-th surah of the Quran (Koran) is Al-Fatiha
- Louis III (King of West Francia) died in the year $l$ (AD)
Input
$x$
All test cases satisfy the following constraints.
・$-10^{9} \leq x \leq 10^{9}$
・The input is given with at most 8 digits after the decimal point.
Output
Output the value of the function $f(x)$ on one line.
Your output is considered correct if its relative error or absolute error from the answer is at most $10^{-9}$.
Print a newline at the end.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。