Git Product home page Git Product logo

misc-math's Introduction

adjacent-multiples.py                   [MSE 46964] Sets S of n integers s.t. kS is consecutive modulo m.
bad_calculator.py                       Multiply keeping k bits of precision 
best_approximation.py                   Brute-force solution to print all "best rational approximations"
cardguesswrong-old.py                   Older version of below.
cardguesswrong.py                       Dundee: guessing every card 'incorrectly' in a deck. Probability of succeeding.
continued_fraction-dw.py                From http://www.daniweb.com/code/snippet223956.html ; prints only convergents
continued_fraction.c                    "Best rational approximations" of a real number (plus a few extra ones TOFIX)
dice-allnos.py                          Expected no. of times to throw dice until all numbers 2 to 12 appear -- exact
dice-allnossim.py                       Expected no. of times to throw dice until all numbers 2 to 12 appear -- simul
diophantine.java                        Straightforward recursive solution to linear Diophantine equations
fillones.sage                           [MSE 47520] Expected time of a certain Markov chain
inhodioapprox-bf.cpp                    [MSE 46100] Powers of 2 starting with '2011'. Faster brute force.
inhodioapprox-bf.py                     [MSE 46100] Powers of 2 starting with '2011'. Brute force.
inhodioapprox.sage                      [MSE 46100] Inhomogeneous diophantine approximation in general.
inhodioapprox.txt                       [MSE 46100] List of those powers up to 1,000,000 (there are 216 of them).
kth-combination.py                      [MSE 36876] [SO 5878768] Print the kth combination of r letters.
looksay.cpp                             Testing a (wrong) heuristic about going backwards in the look-and-say sequence
mse-38671-triples.py                    [MSE 38671] Find triples that have the same sum and product.
permut-.....CCCCCC.cpp                  [MSE 36851] All permutations of ".....CCCCCC".
powers-mse42420.py                      [MSE 42420] When is first digit of 2^n and 5^n the same? And is it always 3?
pypermutations.py                       [SO 6534430] Compare three methods of generating all distinct permutations
tribonacci-period                       Period of Tribonacci sequence modulo m

misc-math's People

Contributors

shreevatsa 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.