Thanks for the reply but I don't understand this part, could you tell me which topic should I check out to understand this expression:
View attachment 23960
and also, I know what Fp(n) denotes but what symbol is it?
First, I am pretty sure that your nickname contains a grammatical error: ”stabat” is singular and “patriae” is plural.
As for F_p(n), it is just a specialized use of function notation. If you are used to function notation at all, this could just as easily have been written F(p, n). If you are familiar with logarithms, we could write them as
[MATH]log(b, x)[/MATH] instead of [MATH]log_b(x).[/MATH]
It is a way of saying that a function is one function out of a “family” of related functions.
Your other question is about the bases of systems of numeration. You are fully familiar with decimal numerals as a way to identify numbers.
[MATH]245 \equiv (2 * 10^2) + (4 * 10^1) + (5 * 10^0)[/MATH]
The number is broken down into a sum of products with factors smaller than 10 and powers of 10. For each of the ten non-negative integers smaller than 10, a unique symbol is used, and those 10 symbols are called the decimal digits.
It should be obvious that there is nothing magical about the number 10. We can construct a system using any number. As a practical matter, the technicalities of digital computers are best worked with using systems of numeration based on two (binary numerals) and on sixteen (hexadecimal numerals). Systems of numeration not based on two, ten, or sixteen currently have few (if any) uses of
BROAD practical importance although a system may be very useful in some specialized application.
So you already know how the decimal numeral system works. How would a system based on the number three work. We need three symbols to represent the three non-negative integers less than three. Let’s use 0, 1, and 2.
Now consider the number five. We can express it in decimal notation as
[MATH]3 + 2 = 3^1 + 2 * 1 = 1 * 3^1 + 2 * 3^0.[/MATH]
So the number five in ternary notation (notation based on three symbols) is 12 just as Dr. Peterson said.
How about the number twelve?
[MATH]12 = 9 + 3 + 0 = 1 * 3^2 + 1 * 3^1 + 0 * 3^0.[/MATH]
So the number twelve in ternary notation is 110.
Now we need a new addition table.
0 + 0 = 0
0 + 1 = 1
0 + 2 = 2
1 + 1 = 2
1 + 2 = 10
2 + 2 = 11
and a new multiplication table
0 * 0 = 0
0 * 1 = 0
0 * 2 = 0
1 * 1 = 1
1 * 2 = 2
2 * 2 = 11.
We are set to go.
Twelve minus five is
[MATH]110 - 12 = 100 + 10 + 0 - 10 - 2 = (10)(10) + 10 - 10 - 2 = (2 + 1)(10) + (2 + 1)(1) - 10 - 2 =\\
20 + 10 + 2 + 1 -10 - 2 = 20 + 1 = 21.[/MATH]What is the decimal representation of the number expressed in ternary representation as 2? Does it look as though this is correct?
Now use the multiplication table to find the product as Dr. Peterson did.
Try expressing the number two hundred and forty-five in ternary notation.
Lots of information about binary and hexadecimal numerals on the web.