https://github.com/alexandreelise/decimoli
Recursive function to compute patterns of decimal places when denominator is a repetition of 1 or more '3' and that the numerator is not divisible by the denominator. The decimal places "pattern" has as much digits than the denominator and repeats itself many times. I can't prove it yet but hopefully someone has already found this fun math puzzle
https://github.com/alexandreelise/decimoli
decimal-places experiment math-programming math-puzzle pattern recursive-algorithm
Last synced: 7 months ago
JSON representation
Recursive function to compute patterns of decimal places when denominator is a repetition of 1 or more '3' and that the numerator is not divisible by the denominator. The decimal places "pattern" has as much digits than the denominator and repeats itself many times. I can't prove it yet but hopefully someone has already found this fun math puzzle
- Host: GitHub
- URL: https://github.com/alexandreelise/decimoli
- Owner: alexandreelise
- Created: 2021-11-06T14:24:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-23T00:24:26.000Z (about 1 year ago)
- Last Synced: 2025-05-26T00:08:38.837Z (9 months ago)
- Topics: decimal-places, experiment, math-programming, math-puzzle, pattern, recursive-algorithm
- Language: PHP
- Homepage: https://apiadept.com
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Decimoli
>Decimal places patterns



__ __ ____ _____ __ __
/ / / ___ / / ____ / ___/__ ______ ___ _____ / ____ ____ ____ ___ / ___ __________
/ /_/ / _ \/ / / __ \ \__ \/ / / / __ \/ _ \/ ___/ __ / / __ \/ __ \/ __ `__ \/ / _ \/ ___/ ___/
/ __ / __/ / / /_/ / ___/ / /_/ / /_/ / __/ / / /_/ / /_/ / /_/ / / / / / / / __/ / (__ )
/_/ /_/\___/_/_/\____/ /____/\__,_/ .___/\___/_/ \____/\____/\____/_/ /_/ /_/_/\___/_/ /____/
/_/
>   
---------------------------------------------
### Description:
Recursive function to compute patterns of decimal places when denominator is a repetition of 1 or more '3' and that the numerator is not divisible by the denominator. The decimal places "pattern" has as much digits than the denominator and repeats itself many times. I can't prove it yet but hopefully someone has already found this fun math puzzle
### Usage:
```shell
APP_NUMERATOR=475 /usr/bin/php8.0 index.php
```
You can choose the numerator you like. It must be a positive integer and
it must not be divisible by 3
--------------------------------------------
### Result:
Here the screenshot of the result:

--------------------------------------------
## INFOS
> English: [Click here to get in touch](https://github.com/mralexandrelise/mralexandrelise/blob/master/community.md "Get in touch")
> Français: [Cliquez ici pour me contacter](https://github.com/mralexandrelise/mralexandrelise/blob/master/community.md "Me contacter")