Skip to content

Instantly share code, notes, and snippets.

@qalle2
qalle2 / 6502-ponderables.txt
Last active March 13, 2024 09:46
EOR #$FF - 6502 Ponderables and Befuddlements
The book "EOR #$FF - 6502 Ponderables and Befuddlements" by David Youd,
rearranged by Qalle (so each explanation is right after the puzzle).
Downloaded from https://archive.org/details/eor6502
-------------------------------------------------------------------------------
EOR #$FF
6502 Ponderables and Befuddlements
David Youd
Lulu Press, Inc.
@qalle2
qalle2 / 72-pow-5.txt
Created October 9, 2023 01:50
The fifth power of 72
A Python program that proves a = 72 is the smallest solution to
a^5 = b^5 + c^5 + d^5 + e^5 + f^5 where a...f are positive integers.
Prints 72 (19, 43, 46, 47, 67).
import itertools
for base in range(1, 72 + 1):
for comb in itertools.combinations_with_replacement(range(1, base), 5):
if sum(b ** 5 for b in comb) == base ** 5:
print(base, comb)
@qalle2
qalle2 / mbnet97.txt
Created January 22, 2022 21:44
List of files in MBnet BBS (1997)
This file has been truncated, but you can view the full file.
List of files in the MBnet BBS in January 1997.
Source: MBFILES.LST on MikroBitti Sähköinen lehti CD-ROM 1996.
Päätaso: 1) Tiedostoja
======================
MBCD.LST 266888 30.05.96 MBCD:n tiedostojen lista kommentteineen.
Tarkoitettu MBRead-ohjelman ja MBCD:n kanssa
käytettäväksi. MBRead ja muut MBnetin
tiedostolistojen selailuun tarvittavat