Skip to content

Files

Latest commit

6cea131 · May 6, 2025

History

History

number

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 13, 2024
Feb 14, 2021
Jun 3, 2021
Nov 6, 2021
Nov 6, 2021
Nov 14, 2022
May 1, 2021
Aug 21, 2021
Aug 21, 2021
Jan 11, 2021
Oct 30, 2021
Oct 30, 2021
Jan 8, 2022
Aug 27, 2021
Jan 11, 2021
Jun 12, 2021
Nov 18, 2020
May 6, 2025
Jan 27, 2022
Jan 30, 2022
Dec 1, 2024
Jan 11, 2021
May 5, 2021
May 5, 2021
Mar 10, 2023
Mar 10, 2023
May 6, 2025
Jan 25, 2022
Jan 25, 2022
Jan 25, 2022
May 6, 2025
Sep 29, 2022
Aug 5, 2023
Oct 30, 2022
Oct 30, 2022
Oct 27, 2022
Oct 27, 2022
Jul 13, 2024
Jul 13, 2024
Oct 30, 2021
Aug 1, 2021
Dec 26, 2023
Dec 26, 2023
Jan 29, 2022
Jan 29, 2022

Number theory

Contents

  • count_primes.hpp Prime-counting function, O(N^(2/3))
  • cyclotomic_polynomials.hpp Cyclotomic polynomial (円分多項式, x k 1 の因数分解など)
  • discrete_logarithm.hpp Discrete logarithm by the baby-step giant-step algorithm
  • enumerate_partitions.hpp 自然数の分割の列挙
  • euler_toptient_phi.hpp Generate table of Euler's totient function
  • factorize.hpp 大きい整数の素因数分解・素数判定
  • modint_runtime.hpp 実行時 modint (modint.hpp と共通のインターフェース)
  • sieve.hpp 線形篩・素因数分解・メビウス関数