Added Details and Links
I created a fun function to compute Cyclops Numbers, see previous post.
D=9; C=0; L=27;
echo "obase=${D}+1;(${D}+1)^(2*${L}-1) -1 -(${D}-(${C}%${D}))*(${D}+1)^(${L}-1)" | bc
Where:
- D = Is the side Digits, 1 to 9
- C = Is the single Cyclops Eye Digit, must be < D, or C mod D will be used
- L = The Cyclops Eye Location (width)
D=8; C=3; L=2; => 838
D=8; C=3; L=3; => 88388
D=8; C=3; L=4; => 8883888
D=4; C=8; L=5; => 444484444
D=9; C=0; L=6; => 99999099999
The results for the above function:
99999999999999999999999999099999999999999999999999999
It is all fun and games, until someone pokes the Cyclops Eye :-)
-- Home Page: https://WA0UWH.blogspot.com