Sunday, March 27, 2016


Figuring out Numbers

So I was having a play, again, this time with a further look into composites and primes.

I am curious to play with representations of digits in manners that allow visualization of distributions of prime numbers and non-prime numbers... not naively in any form or shape of faith in finding something someone else hasn't of course, just because it's fun, for me, to look, play, learn and figure things out by myself...

So what did I get to - from this point on, it may well seem absolutely obvious, already known/common fact - but this is playful musings, explored with no math guides or prior knowledge applied, this is number theory basics a la Chris.

'Types' of Numbers...

My number playing revolves around positive integers... of which a number is categorized in this exercise, as composite or prime.

With this, a couple of terms are thrown around which you may be familiar with:


factor is a whole number which divides exactly into a whole number, leaving no remainder. For example, 13 is a factor of 52 because 13 divides exactly into 52 (52 ÷ 13 = 4 leaving no remainder). 
The complete list of factors of 52 is: 1, 2, 4, 13, 26, and 52 (all these divide exactly into 52).

Prime Number

prime number is a whole number greater than 1, whose only two whole-number factors are 1 and itself. 

I particularly liked this visual example of what a prime number is:

Composite Number

composite number is a positive integer which is not prime (i.e., which has factors other than 1 and itself).

Sourcing, Manipulation, Confirmation!

Manually formulating a table for all factors of a number seemed like an unnecessary task to proceed with, seeing as what I wanted to delve into being already somewhat of a large task. 
So I scoured the net for a table as such, and this is what I found. 

Which for a quick display of the content, it looks something like this:

  • d(n) is the number of positive divisors of n, including 1 and n itself
  • σ(n) is the sum of all the positive divisors of n, including 1 and n itself
  • s(n) is the sum of the proper divisors of n, which does not include n itself; that is, s(n) = σ(n) − n
  • perfect number equals the sum of its proper divisors; that is, s(n) = n
  • deficient number is greater than the sum of its proper divisors; that is, s(n) < n
  • an abundant number is less than the sum of its proper divisors; that is, s(n) > n
  • prime number has only 1 and itself as divisors; that is, d(n) = 2. Prime numbers are always deficient as s(n)=1

Taking this data and loading it into Excel, allows me to manipulate and produce variations in data representation for the fun of spotting characteristics, similarities/groupings and/or patterns... but what it did lead to, actually saw me producing the results manually with the application of formula in Excel - so in fact, the table, in the end, was just a confirmation base for my calculations and output.

The below shows the divisors for n from the source table; to the right, in the grid and with colors - is the output of a formula, that divides n by all whole integers presented in the top row increasing by 1 across column by column - but only is the product of the division displayed, if the value is a whole integer.

The diagonal line is the boundary of this output as that is the indicator of where n is divided by n.
Any whole integer in that top row, as a divisor of n, will not be whole if it is >n, and so, will not display a populated number.

The results of this simple formula, produce the same outputs as what I found on on Wikipedia - allowing me to produce my own counts and sums of divisors of positive whole integers and therefore adding additional columns to flag whether n is prime or not! (Prime is identified in this grid, as n where the count of divisors = 2 & the sum of divisors = n + 1)

The coloring may already present some structural reference to the distribution of numbers as divisors of n.

A Stopping Point... for now...

There is more I would like to output on this what I have started to clean up from previous weeks play - however, as per usual, I digressed... and what I produced just now will form a separate post for reference, as I have branched back into an area I already have some background work on, but tidied a portion up for its potential supporting role in analysis of tentative primes... 

Which is to say, the above work leads on to flagging of numbers, based on criteria such as last digit and then mod9 and square root check - to identify definite NON PRIMES; and potential primes... which I had a little curiosity to check whether permutations of base numbers (i.e. 123, 132, 213, 231, 312, 321) can occur where all permutations are prime; whether there is some significance of digit positioning with regards to permutations and prime elements and so on... 

It got to well past 4am so... I want to wrap this part up and come back to it, as this what I posted today, is just the tip of the iceberg of what outputs I would like to share! That's just the way such analysis seems to go, from A to B to C through to Z and then sometimes coming back to A :D

Factors Expressed Geometrically

This really was one of those side pieces that led of something bigger, as part of how I got to where I got to and somewhat of a guide for those of you interested to see such steps :)

The basis of which, formed from visiting Wikipedia's article on Prime Numbers and seeing this below image:

This led me to form the below examples for the numbers 11, 12 and 36... which are hopefully self explanatory :)

Wednesday, February 24, 2016

Maybe Coming Closer to Tidying up my Collection of Number Musings...

I have left words of promise to people these past months, to share some insight into my passion for number analysis; some visions in mind to expand upon, and the thought of sparking some interest into you... well... it's motivating.
Image result for thumbs up emoji

So I had a gander at what I set up back in 2012 to be part of a presentation slash workshop; it is a very brief poker at what more could be explored - and the aim is not to provide answers but rather pester curiosity for further musings.

So I include it here, with a page of pictures that I also included into the presentations - images of the paper workings (really is the more fun way to play - although Excel for sure gets it's fair share of worthy recognition, as too GeoGebra for the graphical explorations of 'numbers'.) which can also be found in the shared google drive location in the previous post on this blog.

It may lead to degrees of philosophical recognition as to our perception to/of numbers... once one form of data is transformed into variations of representation manners, colors and shapes... giving form to numbers (or is it numbers giving value to form?) it is hard not to ponder towards energy and mass, space and time, light and sound... forces, motion, spin, quantum, gyro... yet I am just thinking games at this present time.
Image result for playing games

My tablet had a rather built up selection of notes I had sketched up with my S pen... said table was stolen recently... lost a lot of musings that were new and fresh during my Asia months, so, to beat discouragement, I am just gently exploring again, which, as I write this and present the little worksheet, factors, primes, composites are being explored, as too cumulative sums, as too further fibonacci related ponderings.

Anywho... off you go, have a look at some number play!
Worksheet Download -

Click on Mr Tesla to follow through to the photo album...