Giter VIP home page Giter VIP logo

alexandreelise / decimoli Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 45 KB

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

Home Page: https://apiadept.com

PHP 100.00%
math-puzzle math-programming recursive-algorithm pattern decimal-places experiment

decimoli's Introduction

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

decimoli's People

Contributors

alexandreelise avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.