diff --git a/2023/10/26/Test-Article/index.html b/2023/10/26/Test-Article/index.html index 1ed5ba7..d7a8bbd 100644 --- a/2023/10/26/Test-Article/index.html +++ b/2023/10/26/Test-Article/index.html @@ -1,5 +1,5 @@ -Test Article - Yttr 的小站 +Test Article - Yttr 的小站

Test Article

First

Second

Third

Fourth

Fifth
Sixth
1
2
3
4
5
6
7
#include <iostream>
using namespace std;
int main()
{
cout << "Love You" << endl;
return 0;
}
+

Test Article

First

Second

Third

Fourth

Fifth
Sixth
1
2
3
4
5
6
7
#include <iostream>
using namespace std;
int main()
{
cout << "Love You" << endl;
return 0;
}
1
print("Hello, Love from Yttr")


$f(x) = x^2+x+1$

-
作者

YttriumWillow

发布于

2023-10-26

更新于

2023-10-27

许可协议

评论

You forgot to set the shortname for Disqus. Please set it in _config.yml.

© 2023 YttriumWillow  Powered by Hexo & Icarus

为💖发电

去 OEIS 上校验结果,正确。

-
作者

YttriumWillow

发布于

2023-10-27

更新于

2023-10-27

许可协议

评论

You forgot to set the shortname for Disqus. Please set it in _config.yml.

有了这个结论就可以愉快的刷多倍经验了。

贴个代码

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
inline void Euler(i64 n)
{
phi[1] = 1;
for (reg int i = 2; i <= n; ++i)
{
if (!prime[i]) prime[++prime[0]] = i, phi[i] = i - 1;
for (reg int j = 1; j <= prime[0] && i * prime[j] <= n; ++j)
{
prime[i * prime[j]] = 1;
if (!(i % prime[j])) {
phi[i * prime[j]] = phi[i] * prime[j]; break; }
else phi[i * prime[j]] = phi[i] * phi[prime[j]];
}
}
for (reg int i = 1; i <= n; ++i)
phisum[i] = phisum[i - 1] + phi[i];
}

int main()
{
Euler(n);
for (reg i64 i = 1; i <= n; ++i)
ans = (ans + ((i * i) % mod) * ((phisum[n / i] * 2 - 1) % mod) % mod) % mod;
}
-

公式渲染压力测试

https://yttriumwillow.github.io/2023/10/27/公式渲染压力测试/

作者

YttriumWillow

发布于

2023-10-27

更新于

2023-10-27

许可协议

#

评论

You forgot to set the shortname for Disqus. Please set it in _config.yml.
+分类 - Yttr 的小站

去 OEIS 上校验结果,正确。

-

Test Article

First

Second

Third

Fourth

Fifth
Sixth
1
2
3
4
5
6
7
#include <iostream>
using namespace std;
int main()
{
cout << "Love You" << endl;
return 0;
}
-
1
print("Hello, Love from Yttr")
-


-

$f(x) = x^2+x+1$

-

去 OEIS 上校验结果,正确。

-
- -

Test Article

First

Second

Third

Fourth

Fifth
Sixth
1
2
3
4
5
6
7
#include <iostream>
using namespace std;
int main()
{
cout << "Love You" << endl;
return 0;
}
-
1
print("Hello, Love from Yttr")
-


-

$f(x) = x^2+x+1$

-
\ No newline at end of file diff --git a/tags/index.html b/tags/index.html index 39c2f37..4fc047e 100644 --- a/tags/index.html +++ b/tags/index.html @@ -1,5 +1,5 @@ -标签 - Yttr 的小站 +标签 - Yttr 的小站