Prime Factors

In number theory, the prime factors of a positive integer are the prime numbers that divide into that integer exactly, without leaving a remainder. A few examples make it clear: The prime factors of 6 are (2, 3); since 2 x 3 = 6 The prime factors of 12 are (2, 2, 3); since 2 […]

Brain Teaser – Billiard Balls

Suppose you had eight apparently identical billiard balls, but one of the eight is slightly heavier than the others. The only tool you have to measure is a balance scale. What’s the fewest number of times you’d have to use the scale to find the heavier ball?             scroll for […]

A mysterious billboard appeared on 101-southbound which I passed each day to work. The billboard said: { the first 10-digit prime in consecutive digits of e }.com I passed by the billboard numerous times before I realized it wasn’t an advertisement for a company, it wasn’t touting some servers new ability, it was actually a […]

Java Matrix Calculator

Download MatrixCalculator.java ver. 1.6 MatrixCalculator-1.5.java ver. 1.5 Change Log: Version 1.6 – June 30, 2005br> Contributed by Pierre Sequin <sequin_pierre@yahoo.ca> Updated so it accepts any rectangular matrix for the transpose and also for multiplication if matrices A and B are appropriate size (ie 2×3 3×5 are acceptable for multiplication and produce a 2×5 matrix) Version […]

Prime Numbers

An integer is prime if its only positive divisors are itself and one. Prime numbers have always been a keen interest to mathematicians for various reasons. One being there appears to be no rhyme or reason to the distribution of primes and there is no limit to finding new primes. The largest known prime was […]

Krypto Game Analysis

Krypto is a game which five cards are put down each with a number on it from one to twenty-five. Using normal arithmetic operations ( +, -, * , / ) on these five cards to equal a sixth card that is also from one to twenty-five. An example game: Game: 2 4 3 6 […]

Javascript Linear Algebra Calculator

See the Pen Linear Algebra Calculator by Marcus Kazmierczak (@mkaz) on CodePen. Resoures Read about Linear Algebra Mathematics for some mathematical explanations on how the matrices are calculated and definitions For larger matrices and Java source code, see Java Matrix Calculator? – I have made a new matrix calculator this time using double arrays in […]

Linear Algebra Math

Here are some of the definitions and examples used in Linear Algebra and specifically the linear algebra calculators available. Let A, B, and C represent n x n matrices. Example of a 3 x 3 Matrix: 1 2 3 1 1 2 0 1 2 A + B = C The addition of two matrices […]

Solve a System of Linear Equations

See the Pen Solve a Linear System of Equations by Marcus Kazmierczak (@mkaz) on CodePen. The Mathematics Behind It The above solves a system of 3 equations and 3 unknowns, for example : x + 2y + 3z = 9 2x – y + z = 8 3x – z = 3 This would be […]

Hi, I’m Marcus Kazmierczak

I'm an engineer trying to do my small part to make the web a little better. I believe open source can help empower people, and grow our collective knowledge; moving the world forward. I hope this site is a small contribution to that collective.