Fifty is a peculiar integer. When looking at its neighbors — the largest integer strictly beneath and the smallest strictly above —, more specifically their prime factorization, one finds
Notably, there exists a partition of the neighbor’s factors into two multisets such that both parts’ sums equal another.
Positive integers with the above described property can be found in my most recent addition to the OEIS: sequence A325902.
Interessant war es auch, drei aufeinanderfolgende Zahlen zu nehmen, von denen die größte durch drei teilbar sein musste, sie zu addieren und aus dem Ergebnis so lange die Quersumme zu bilden, bis eine einstellige Zahl übrig blieb. Diese Zahl war immer sechs.
— Child, Lee: Der Anhalter. München: Blanvalet, 2015; p. 73
Jack Reacher’s at most tangentially to interpreting the sergeant’s reply related base ten factoid’s formal form is
where represents the final digit sum in base ten.
A proof of the above claim together with the underlying digit sum results is presented in digit-sums.pdf [1] (source: digit-sums.tex).
Despite my personal disbelieve in and dislike of the colored blocks dragging simulator 3, I nevertheless wanted to extract functionality other than the hardcoded cat mascot path tracing from the aforementioned software; one of the most efficient visual result to build effort ratio yields a simple plot of the Mandelbrot set, formally known as
where the iterator is defined as
The render resolution is kept at a recognizable minimum as not to overburden the machine tasked with creating it. Source: mandelbrot-set-sketch-in-scratch.sb3
Recently, my stochastic professor introduced me to a problem he has been pondering for over two decades: on the two-dimensional integer lattice one shall flip a three-sided coin for each point and uniformly place one of three mirrors, , where denotes not placing a mirror. After having populated the world, one picks their favorite integer tuple and points a beam of light in one of the four cardinal directions. With what probability does the light fall into a loop, never fully escaping?
A project of epic proportions has come to a close. Yesterday, the 19th of April 2019, saw the first public release of my new programming language, krrp.
krrp is a functional, dynamic, interpreted and (theoretically) Turing-complete esolang implemented only using standard C. As such, on top of designing the actual language, any data structures, memory management and general auxiliary functionality deviating from the lacking capabilities offered by C had to be home-brewed and hand-crafted. A time-consuming task — I have been working on this language for the past year. However, it gives the language a certain purity, as its high-level functional approach rests firmly and closely on the state-changing, mutable and segmentation-faulting depths that are the C language.
Over two years ago, I wrote a basic 𝟥 ⨉ 𝟥-sudoku solver which uses both fundamental rule-based elimination and guessing to arrive at the solution. Revisiting the topic of computer-aided sudoku manipulation, I wrote a generalized sudoku generator (sudoku-generation.hs).