Giter VIP home page Giter VIP logo

1089's Introduction

1089


1089 the magic number

Just a script invalidating this number game

We propose a small problem of mathematics.

Enter a three-digit number on a sheet of paper, no matter which one, provided that it is a number with three different digits. Take for example the number 496.

In four operations you must automatically find 1089. You reverse your number in our example clela gives 694. You subtract the weakest u stronger and you have 198. Reverse this figure you have 891. Add your last two digits and you have 1089.

Try with other numbers and you will always end up at 1089. This is what to impress your friends.


1089 le nombre magique

Script qui prouve que ce n'est pas toujours le cas

Nous vous proposons un petit problème de mathématiques.

Inscrivez un nombre de trois chiffres sur une feuille de papier, peu import lequel, pourvu que ce soit un nombre comportant trois chiffres différents. Prenons par exemple le chiffre 496.

En quatre opérations vous devez automatiquement trouver 1089. Vous renversez votre chiffre, dans notre exemple clela donne 694. Vous soustrayez le plus faible u plus fort et vous avez 198. Inversez ce chiffre, vous avez 891. Additionnez vos deux derniers chiffres et vous avez 1089.

Essayez avec d'autres chiffres et vous aboutirez toujours à 1089. Voilà de quoi épater vos amis.


Run

npm run test

1089's People

Contributors

jeanphilipperuijs avatar 3tron avatar

Watchers

James Cloos 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.