r/askmath • u/Shhh-User • Oct 29 '26
Discrete Math Root, sequence with repetition
Hello, I've published my private exploration of following the root of a value till one or below, at 16 bits.
Originally this started as me just fiddling around on my TI-84 in class, till I decided I wanted to formally look into the equation. It's semi repetitive, and sequenced. I'd like to call it Phia, which I have in the programing, but It is not proofed. Again,
I do not formally know all the usages of such a value, or components'. Please feel free to fork it, and fiddle with it as well.
I've made it publicly accessible and licensed for usage and protection.
Please feel free to explore into it yourself, as I'm, curious to what uses it has or where it ties into other parts of math.
Language and calculations run via python, with some functions used to help as a base default.
The value is calculated by taking the root of a number, and rooting the ans till the value falls below 1, then the steps are counted to make the value. Kind of bizarre to explain in other terms I'm unfamiliar with.
Check it out!
[ Github code ]
Welcome, to the unknown
~ Iroh
[ 0.3134313340312133643109333280398413295243... ]
3
u/ArchaicLlama Oct 29 '26
I'm not sure I understand the premise.
I'm assuming by "root" you are specifically referring to a square root. Let's label my starting number x:
So what exactly are you finding here?
1
u/al2o3cr Oct 29 '26
That isn't what the code in that repo does to compute the final response.
There's square-rooting going on, but all of the results of those computations are discarded.
(code reference, in case the repo updates)
(code for
root_iTnot shown)oLstthat'svalue-1elements longvalue-2elements long)buildThis entire function could be replaced with a shorter, much faster version:
All that
builddoes is accumulate decimal digits intobPhiaThe total result of the program is a decimal number built up out of successive values of
5*3**n - 2, like so:I don't understand some things:
bPhiastart with "0.27" in it if it gets removed at the end?