Number Theory
Basic
Divisibility Rule for 3
A number is divisible by 3 if the sum of its digits is.
Formula
Variables
nInteger
Example
123: 1+2+3=6 ✓
Did You Know?
A number is divisible by 3 exactly when its digits sum to a multiple of 3 — try it on 12,345.