You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

Number of items that are divisible and indivisible

Author: shiroeExecutions: 86

※ This library was created by a member. This site is not responsible for its content.

Manage Bookmarks
Given a range of consecutive natural numbers,
this program checks whether each number is divisible by two distinct natural numbers,
and compiles the results.
Let n0 be the lower bound of the range of the natural numbers to be divided.
Let n1 be the upper bound of the range of the natural numbers to be divided.
Assume that n0 < n1.

Let a and b be the two natural numbers used for division.
Assume that a and b are distinct natural numbers.
n0
  (The lowest natural number)
n1
  (The maximum natural number)
a
b
Number of natural numbers counted 
The number of items divisible by a 
Number of items divisible by b 
The number of items divisible by either a or b 
The number of items divisible by a but not by b 
The number of items divisible by b but not by a 
The number of items that could not be evenly divided by either a or b 
The number of items that were equal to a 
The number of items that were equal to b 
Digit display setting: 50 digits. Digit count can be changed. Real number calculation mode.

No customer feedback for this calculation yet.