number.wiki
Number

338

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

Deficient Number Evil Number Happy Number Recamán's Sequence Year

Historical context — 338 AD

Calendar year

Year 338 (CCCXXXVIII) was a common year starting on Sunday of the Julian calendar.

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

Historical context — 338 BC

Calendar year

Year 338 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
Common year
Standard 365-day year; not divisible by 4 (or divisible by 100 but not 400).
Days in year
365
ISO weeks
52
Started on
Saturday
January 1, 338
Ended on
Saturday
December 31, 338
Friday the 13ths
1
One Friday the 13th this year.
Decade
330s
330–339
Century
4th century
301–400
Millennium
1st millennium
1–1000
Years ago
1,688
1688 years before 2026.

In other calendars

Hebrew
4098 / 4099 AM
Rosh Hashanah falls in September/October.
Chinese
Year of the zodiac:Earth zodiac:Dog
Sexagenary cycle position 35 of 60. Lunar new year falls in late January / mid-February.
Buddhist Era
881 BE
Counted from the parinirvana of the Buddha (Theravada / Thai / Sri Lankan convention).
Ethiopian
330 / 331 ET
Year boundary at Enkutatash (September 11/12).
Indian National (Saka)
260 / 259 Saka
Indian national calendar; year starts in March.

Properties

Parity
Even
Digit count
3
Digit sum
14
Digit product
72
Digital root
5
Palindrome
No
Bit width
9 bits
Reversed
833
Recamán's sequence
a(572) = 338
Square (n²)
114,244
Cube (n³)
38,614,472
Divisor count
6
σ(n) — sum of divisors
549
φ(n) — Euler's totient
156
Sum of prime factors
28

Primality

Prime factorization: 2 × 13 2

Nearest primes: 337 (−1) · 347 (+9)

Divisors & multiples

All divisors (6)
1 · 2 · 13 · 26 · 169 (half) · 338
Aliquot sum (sum of proper divisors): 211
Factor pairs (a × b = 338)
1 × 338
2 × 169
13 × 26
First multiples
338 · 676 (double) · 1,014 · 1,352 · 1,690 · 2,028 · 2,366 · 2,704 · 3,042 · 3,380

Sums & aliquot sequence

As a sum of two squares: 7² + 17² = 13² + 13²
As consecutive integers: 83 + 84 + 85 + 86 20 + 21 + … + 32
Aliquot sequence: 338 211 1 0 — terminates at zero

Representations

In words
three hundred thirty-eight
Ordinal
338th
Roman numeral
CCCXXXVIII
Binary
101010010
Octal
522
Hexadecimal
0x152
Base64
AVI=
One's complement
65,197 (16-bit)
In other bases
ternary (3) 110112
quaternary (4) 11102
quinary (5) 2323
senary (6) 1322
septenary (7) 662
nonary (9) 415
undecimal (11) 288
duodecimal (12) 242
tridecimal (13) 200
tetradecimal (14) 1a2
pentadecimal (15) 178

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 338 = 2
e — Euler's number (e)
Digit 338 = 9
φ — Golden ratio (φ)
Digit 338 = 5
√2 — Pythagoras's (√2)
Digit 338 = 3
ln 2 — Natural log of 2
Digit 338 = 9
γ — Euler-Mascheroni (γ)
Digit 338 = 1

Also seen as

Goldbach decomposition

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

  • 7 + 331 = 338
  • 31 + 307 = 338
  • 61 + 277 = 338
  • 67 + 271 = 338
  • 97 + 241 = 338
  • 109 + 229 = 338
  • 127 + 211 = 338
  • 139 + 199 = 338

Showing the first eight; more decompositions exist.

Unicode codepoint
Œ
Latin Capital Ligature Oe
U+0152
Uppercase letter (Lu)

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

Hex color
#000152
RGB(0, 1, 82)
IPv4 address

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

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

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

Calculator-display word

Type 338 on a seven-segment calculator, flip it 180°, and the display reads:

BEE

A staple of calculator humor since pocket calculators put digits in front of bored students.