Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

elisp-problem-solving

This hobby project uses Emacs Lisp to solve numeric puzzles as those proposed by Project Euler.

Solutions are proposed in Emacs Lisp using cl-lib, and also in "traditional" Emacs Lisp without cl-lib.

A test suite is proposed in z_tests.el file (instructions inside).

Table of contents:

Any comment? Open an issue, or start a discussion here or at profile level.

Project Euler

Project Euler problems solved are: 1, 2, 3, 4, 5, 6, 7, 9, 10.

Tupper formula

Blog post: https://www.effectivelambda.org/en/blog/006-tuppers-self-referential-formula.html

Tupper's self-referential formula is a formula that visually represents itself when graphed on plane.

See Wikipedia or Wolfram MathWorld.

Formula:

formula

SBCL supports 'big' integers, which allows implementing the formula directly:

code

Output:

output

I have added this code to Rosetta Code.

(end of README)

About

Hobby project using Emacs Lisp to solve numeric puzzles as those proposed by Project Euler.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages