I Made A Python Fibonacci Number Generator, With A Twist, To Allow A New Sequence Rooted In Any Beginning Number You Want

The Fibonacci numbers are a set of numbers that form from the two preceding numbers.

0 + 1 = 1
0, 1
1 + 1 = 2
0, 1, 2
1 + 2 = 3
0, 1, 2, 3
2 + 3 = 5
0, 1, 2, 3, 5
3 + 5 = 8
0, 1, 2, 3, 5, 8

The number goes from a zero (nonexistent state) to a one (existing state). Then it grows upon it’s own structure, ever expanding and filing the void. 0=1 would be another way of looking at the beginning sequence. The zero does not equal “nothing” but rather it equals nothing we recognize as something. Zero could equal “Anti”, a “Negative” state, or even an outside catalyst beyond observation.

When we look at black holes they work the same way in reverse 1=0. An ever decreasing set of data points to a single point of reference.

It gives you the perception that the universe may be only one object that simply replicates or consolidates itself continuously.

The Fibonacci number is facinating because it could be the pattern of how it all began.

So strange and relevant to science and nature is this number that it has it’s own journal, “The Fibonacci Quarterly”.

Almost everywhere you look in nature you will see this pattern:

This is what the Fibonacci number sounds like as music:

My Python3 Code With Explanation:

# Enter the starting number: I wanted to have options past whats found in nature
sn=int(input("What is the Fibonacci starting number? "))
# Enter how many numbers you want returned
rn=int(input("How many numbers do you want? "))
# This will be the first number and should equal zero,
# so I used the starting number and subtracted it from itself
fir=(sn - sn)
# This will be the second number and will also equal the starting number only once in the loop
# This will print first two numbers
print(fn, snd, end=" ")
# This will create a loop that will start after the second number
# and end after it loops the remaining times you wanted numbers returned
for x in range(2, rn):
# Adds the first and second numbers to create the next Fibonacci sequence
    fn=(fir + snd)
# Prints the next Fibonacci number and adds a space
    print(fn, end=" ")
# Changes the value of the first number to what the second number is
# Changes the value of the second number to what the Fibonacci number is
# Returns to the "for x" loop until the number returned value you entered earlier
# matches the number of loops

Just The Python3 Code:

sn=int(input("What is the Fibonacci starting number? "))
rn=int(input("How many numbers do you want? "))
fn=(sn - sn)
print(fn, snd, end=" ")
for x in range(2, rn):
fb=(fn + snd)
print(fb, end=" ")
What if the key to everything is so simple that we can’t see it?

Categories: Helpful Software and HardwareTags:

I want to hear what you have to say

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: