Nerdulator> put something in

Recognised as Number

340,507

  • Positive
  • Odd
  • Composite
  • 6 digits

340,507 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 1.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value340,507
Digit count6
Digit sum19
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation163 × 2,089
Distinct prime factors2163, 2,089
Number of divisors4
Sum of divisors σ(n)342,760
Aliquot sum2,253sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)338,256integers below n that share no factor with it
Carmichael function λ(n)18,792the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 338,256
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 163, 2,089, 340,5074 in total

Arithmetic

Previous number340,506
Next number340,508
Double681,014
Cube39,480,089,920,303,843
Square root583.529776447≈irrational, shown to 9 decimal places
Cube root69.829995619≈
Negation-340,507
Reciprocal0.0000029368≈

Representations

Decimal340,507
Binary101001100100001101119 bits
Octal1231033
Hexadecimal5321B
Base 367AQJ
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and forty thousand, five hundred and seven
Ordinalthree hundred and forty thousand, five hundred and seventh
Scientific notation3.40507 × 10^5
Engineering notation340.507 × 10^3

In other bases

Ternary122022002101base 3; the most digit-efficient integer base after e: 12 digits
Quinary41344012base 5; one hand: 8 digits
Septenary2615506base 7: 7 digits
Nonary568071base 9; each digit is two ternary digits: 6 digits
Duodecimal145077base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22b57base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:35:7base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T10T01T101digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111011001101111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000000001010011001000011011
Bit length19 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits10within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes305 32 1b
Gray code1111010101100010110n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001010011001000011011
64-bit0000000000000000000000000000000000000000000001010011001000011011
One's complement11111111111110101100110111100100at 32 bits, every bit flipped
Bits reversed11011000010011001010000000000000at 32 bits
Rotated left by 100000000000010100110010000110110at 32 bits, wrapping
Shifted left by 110100110010000110110= 681,014, no wrap
Shifted right by 1101001100100001101= 170,253, discarding the low bit
These bits as a double1.68232811 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime340,519+12
Previous prime340,481−26
Distance to nearest prime12
Nearest square below339,889
Nearest square above341,056

Powers & multiples

340,507 to the power 2115,945,017,049
340,507 to the power 339,480,089,920,303,843
340,507 to the power 413,443,246,978,492,900,668,401
340,507 to the power 54,577,519,698,905,682,127,895,219,307
First ten multiples340,507, 681,014, 1,021,521, 1,362,028, 1,702,535, 2,043,042, 2,383,549, 2,724,056, 3,064,563, 3,405,070
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)

Divisibility tests

Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 3
Divisible by 5No, remainder 2
Divisible by 6No, remainder 1
Divisible by 7No, remainder 6
Divisible by 8No, remainder 3
Divisible by 9No, remainder 1
Divisible by 10No, remainder 7
Divisible by 11No, remainder 2
Divisible by 12No, remainder 7
Divisible by 100No, remainder 7

Collatz (3n + 1) trajectory

Steps to reach 1228the total stopping time
Highest value reached5,817,90417× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps340,507 → 1,021,522 → 510,761 → 1,532,284 → 766,142 → 383,071 → 1,149,214 → 574,607 → 1,723,822 → 861,911 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage34,050,700%
340,507% as a decimal3,405.07
340,507% of 100340,507
340,507% of 1,0003,405,070
As a fraction of 100340,507/100

Read another way

As bytes332.526 KiB
As a 24-bit colour#05321B

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Also reads as

#340507 (colour)

  • #340507
  • Red
  • Dark
  • Nearest: Black

#340507 is a red with RGB values 52, 5, 7 and HSL 357°, 82%, 11%. It is a dark colour, so white text on it reaches 17.9:1 contrast (AAA for normal text). The nearest named colour is Black.

Open this reading on its own page →

Colour values

#340507#340507
HEX#340507
RGBrgb(52, 5, 7)
RGB (0–1)0.2039, 0.0196, 0.0275
RGB percentages20.4%, 2%, 2.7%
HSLhsl(357.4, 82.5%, 11.2%)
HSV / HSBhsv(357.4, 90.4%, 20.4%)
CMYK0%, 90.4%, 86.5%, 79.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,409,159
CSS custom property--colour: #340507;

Brightness & contrast

Relative luminance0.00854WCAG 2.x, 0 is black and 1 is white
Perceived brightness28.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.94:1
Contrast with white17.94:1WCAG normal text: AAA
Contrast with black1.17:1WCAG normal text: Fail
Greyscale equivalent#0F0F0F
Inverted#CBFAF8

Colour vision & accessibility

Protanopia#131007no red cones; affects about 1% of men; ΔE 24.4 from the original
Deuteranopia#1F1B06no green cones; the most common form, about 1% of men; ΔE 25.3 from the original
Tritanopia#3A0006no blue cones; rare, and affects men and women equally; ΔE 5 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.94:1WCAG large text: AAA
Contrast with black, large text1.17:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 26.34, a distinctly different colour
Hue familyred
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#053432
Analogous#34051F, #341A05
Triadic#073405, #050734
Split complementary#05341A, #051F34
Tetradic#1F3405, #053432, #1A0534

Tints, shades & saturation

Lighter +40%#E91C25
Lighter +30%#C0121A
Lighter +20%#910E14
Lighter +10%#63090D
Darker −10%#050101
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#390002
Less saturated −25%#2D0C0E

Channel breakdown

R52
G5
B7
Red52 (20.4%)
Green5 (2%)
Blue7 (2.7%)
Hue357.45°
Saturation (HSL)82.46%
Lightness11.18%
Dominant channelRed
Hex per channelR 34 · G 05 · B 07

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “340507” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.