number.wiki
Number

340

340 is a composite number, even, a calendar year.

Abundant Number Arithmetic Number Evil Number Practical Number Recamán's Sequence Semiperfect Number Year

Historical context — 340 AD

Calendar year

Year 340 (CCCXL) was a leap year starting on Tuesday of the Julian calendar.

Excerpt from Wikipedia (en) ↗ · Licensed CC BY-SA 4.0 · English fallback Read the full article on Wikipedia →

Historical context — 340 BC

Calendar year

Year 340 BC was a year of the pre-Julian Roman calendar.

Excerpt from Wikipedia (en) ↗ · Licensed CC BY-SA 4.0 · English fallback Read the full article on Wikipedia →

Year facts

Year type
Leap year
Divisible by 4 and not by 100; February has 29 days.
Days in year
366
ISO weeks
52
Started on
Monday
January 1, 340
Ended on
Tuesday
December 31, 340
Friday the 13ths
2
2 Friday the 13ths this year.
Decade
340s
340–349
Century
4th century
301–400
Millennium
1st millennium
1–1000
Years ago
1,686
1686 years before 2026.

In other calendars

Hebrew
4100 / 4101 AM
Rosh Hashanah falls in September/October.
Chinese
Year of the zodiac:Metal zodiac:Rat
Sexagenary cycle position 37 of 60. Lunar new year falls in late January / mid-February.
Buddhist Era
883 BE
Counted from the parinirvana of the Buddha (Theravada / Thai / Sri Lankan convention).
Ethiopian
332 / 333 ET
Year boundary at Enkutatash (September 11/12).
Indian National (Saka)
262 / 261 Saka
Indian national calendar; year starts in March.

Properties

Parity
Even
Digit count
3
Digit sum
7
Digit product
0
Digital root
7
Palindrome
No
Bit width
9 bits
Reversed
43
Recamán's sequence
a(568) = 340
Square (n²)
115,600
Cube (n³)
39,304,000
Divisor count
12
σ(n) — sum of divisors
756
φ(n) — Euler's totient
128
Sum of prime factors
26

Primality

Prime factorization: 2 2 × 5 × 17

Nearest primes: 337 (−3) · 347 (+7)

Divisors & multiples

All divisors (12)
1 · 2 · 4 · 5 · 10 · 17 · 20 · 34 · 68 · 85 · 170 (half) · 340
Aliquot sum (sum of proper divisors): 416
Factor pairs (a × b = 340)
1 × 340
2 × 170
4 × 85
5 × 68
10 × 34
17 × 20
First multiples
340 · 680 (double) · 1,020 · 1,360 · 1,700 · 2,040 · 2,380 · 2,720 · 3,060 · 3,400

Sums & aliquot sequence

As a sum of two squares: 4² + 18² = 12² + 14²
As consecutive integers: 66 + 67 + 68 + 69 + 70 39 + 40 + … + 46 12 + 13 + … + 28
Aliquot sequence: 340 416 466 236 184 176 196 203 37 1 0 — terminates at zero

Representations

In words
three hundred forty
Ordinal
340th
Roman numeral
CCCXL
Binary
101010100
Octal
524
Hexadecimal
0x154
Base64
AVQ=
One's complement
65,195 (16-bit)
In other bases
ternary (3) 110121
quaternary (4) 11110
quinary (5) 2330
senary (6) 1324
septenary (7) 664
nonary (9) 417
undecimal (11) 28a
duodecimal (12) 244
tridecimal (13) 202
tetradecimal (14) 1a4
pentadecimal (15) 17a

Historical numeral systems

Babylonian (base 60)
𒁹𒁹𒁹𒁹𒁹 𒌋𒌋𒌋𒌋
Egyptian hieroglyphic
𓍢𓍢𓍢𓎆𓎆𓎆𓎆
Greek (Milesian)
τμʹ
Mayan (base 20)
𝋱·𝋠
Chinese
三百四十
Chinese (financial)
參佰肆拾
In other modern scripts
Eastern Arabic ٣٤٠ Devanagari ३४० Bengali ৩৪০ Tamil ௩௪௦ Thai ๓๔๐ Tibetan ༣༤༠ Khmer ៣៤០ Lao ໓໔໐ Burmese ၃၄၀

Digit at this position in famous constants

π — Pi (π)
Digit 340 = 4
e — Euler's number (e)
Digit 340 = 3
φ — Golden ratio (φ)
Digit 340 = 9
√2 — Pythagoras's (√2)
Digit 340 = 5
ln 2 — Natural log of 2
Digit 340 = 8
γ — Euler-Mascheroni (γ)
Digit 340 = 9

Also seen as

Goldbach decomposition

Goldbach's conjecture says every even integer greater than 2 is the sum of two primes. For 340, here are decompositions:

  • 3 + 337 = 340
  • 23 + 317 = 340
  • 29 + 311 = 340
  • 47 + 293 = 340
  • 59 + 281 = 340
  • 71 + 269 = 340
  • 83 + 257 = 340
  • 89 + 251 = 340

Showing the first eight; more decompositions exist.

Unicode codepoint
Ŕ
Latin Capital Letter R With Acute
U+0154
Uppercase letter (Lu)

UTF-8 encoding: C5 94 (2 bytes).

Hex color
#000154
RGB(0, 1, 84)
IPv4 address

As an unsigned 32-bit integer, this is the IPv4 address 0.0.1.84.

Address
0.0.1.84
Class
reserved
IPv4-mapped IPv6
::ffff:0.0.1.84

Unspecified address (0.0.0.0/8) — "this network" placeholder.

NANP area code 340

The number 340 is an active NANP area code (North American Numbering Plan).

Primary area
Statewide
Region
U.S. Virgin Islands
Country
United States

Most NANP area codes have multiple overlays in dense regions; the primary area listed is the historic/largest population center for this code.