Generally, Octal Number representation is expressed by subscript 8 or octal (o). It has a base of 8 digits ranging from 0 to 7 (i.e., 0, 1, 2, 3, 4, 5, 6, 7). Arithmetic operations of octal numbers are also performed the same as decimal or binary arithmetic operations. The addition table for octal numbers is given as below:
With the help of the above table, we can perform following arithmetic Operations of Octal Numbers :
- Additions :
It can perform additions of octal numbers.
- Subtraction :
It can perform subtraction of octal numbers same as decimal number subtractions. But you can only borrow a number 7, which is the maximum digit allowed in octal number systems.
- Multiplications :
If the product is less than radix of octal (i.e, 8), then we take it as the result, else divide it by radix of octal (i.e., 8) and take the remainder as the LSB (least significant bit). The quotient is taken as carry in the next significant digit.
- Division :
It can be performed by following the rules of division of decimal numbers but the maximum allowed digit will be 7.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Arithmetic Operations of Binary Numbers
- Arithmetic Operations of Hexadecimal Numbers
- Program for Octal to Decimal Conversion
- Program for Decimal to Octal Conversion
- Basic Laws for Various Arithmetic Operations
- Overflow in Arithmetic Addition in Binary Number System
- Functionally Complete Operations
- Bitwise Operations on Digits of a Number
- DataFrame Operations in R
- Various operations on Fibonacci nodes in a Singly Linked list
- Array Operations in R Programming
- Minimum number of operations required to make two strings equal
- Algebraic Operations on a Matrix in R
- Maximum strength in a Matrix after performing specified operations
- Shift Micro-Operations in Computer Architecture
- Fermat's Factorization method for large numbers
- How the negative numbers are stored in memory?
- IEEE Standard 754 Floating Point Numbers
- Basics of Signed Binary numbers of ranges of different Datatypes
- Check if an Array is a permutation of numbers from 1 to N
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.