A caterinian number is a natural number, represented as a_n*10^n + a_{n-1}*10^(n-1) + ... + a_1*10 + a_0, for which the sum of the sum of |a_i - a_{n-k}| as k goes from 0 to n and as i goes from 0 to n minus (n+1) is equal to a_0. See caterinian_number.pdf.
hearot/caterinian
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Go module for caterinian numbers.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published