new-silvermoon / RecreationalMaths

This repo contains code representing various Maths formulae, puzzles, sequences, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RecreationalMaths

This repo contains code representing various Maths formulae, puzzles, sequences, etc.

  1. Van Eck Sequence - https://en.wikipedia.org/wiki/Van_Eck%27s_sequence

  2. Golden angle - https://en.wikipedia.org/wiki/Golden_angle

  3. Sum of cubes - There is a popular conjecture in Maths which states that numbers that can be expressed as a sum of three cubes of integers, allowing both positive and negative cubes in the sum. Refer https://en.wikipedia.org/wiki/Sums_of_three_cubes

    Andrew Booker wrote an algorithm in March 2019 in order to find the result for number 33. Refer https://www.youtube.com/watch?v=ASoz_NuIvP0

    This code takes stab at Andrew's original algorithm in a Pythonic way.

  4. Permutations generator - Next Lexicographic permutation algorithm - https://www.nayuki.io/page/next-lexicographical-permutation-algorithm Heap's algorithm - https://en.wikipedia.org/wiki/Heap%27s_algorithm

About

This repo contains code representing various Maths formulae, puzzles, sequences, etc.


Languages

Language:Python 100.0%