🎯 Why 0! = 1 (zero factorial is one)?

Recently, I was thinking about various justifications for the definition of 0! (factorial of zero) which is

$$0!=1$$

The assumed value of 1 may seem quite obvious if you consider the recursive formula. However, it did not satisfy me “mathematically”. That’s why I decided to write these few sentences. I will give motivations for the less advanced ones, but there will also be motivations for slightly more insiders.

Continue reading “🎯 Why 0! = 1 (zero factorial is one)?”

🎯 Why negative times a negative is a positive?

Surely everyone knows that the result of multiplying two negative numbers is positive. The formula “minus times a minus is a plus” or “negative times a negative is a positive” was put into our heads during the early school years. However, the teachers have forgotten to explain why this is the case, and to pass the motivation of mathematicians who defined the arithmetic of negative numbers.

⭐️ Multiplication as a short notation of repeated addition

Continue reading “🎯 Why negative times a negative is a positive?”

🎯 Fractions support in Scalar Calculator

When working with Scalar you can enter numbers in the form of fractions and convert decimal numbers into fractions. This is very convenient because fractions function on a par with other numbers, i.e. they are converted to decimal numbers.

⭐ Entering number as fractions

Entering numbers in the form of fractions is done using the following syntax:

Continue reading “🎯 Fractions support in Scalar Calculator”

🎯 Various numeral systems in Scalar Calculator

Today you will learn how to use different numeral systems in the Scalar calculator. Thanks to Scalar it is very easy to:

• Convert decimal system to other numeral systems
• Convert other numeral systems into a decimal system
• Enter values simultaneously in different numeral systems
• Acquire information about the digits of a given number on the basis of the indicated numeral system

Stay tuned, this is exciting 🙂

Continue reading “🎯 Various numeral systems in Scalar Calculator”

🎯 Prime numbers support in Scalar Calculator

Today I will present various types of support for prime numbers that the Scalar calculator provides. There will be some theory, some screenshots, and a few lines of code that you can use directly in your Scalar instances. Stay tuned! 🙂

⭐ Scalar functions and options related to prime numbers

Let’s start with the list of functions and options available in Scalar, which are linked to prime numbers. On the calculator screen, long click on the “example /?” button. As a result you will get the help dialog containing search option. Enter “prime” keyword.

Continue reading “🎯 Prime numbers support in Scalar Calculator”