Skip to content

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

alexandreelise/decimoli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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:

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:

Alex Lab Decimoli Experiment


INFOS

English: Click here to get in touch

Français: Cliquez ici pour me contacter

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages