Prime Numbers List

The first 100 prime numbers with their position in the sequence.

  • JSON8,945 B
  • YAML4,277 B · −52%
  • TOON1,899 B · −79%

The first one hundred prime numbers with their position in the sequence (the 1st prime is 2, the 100th is 541). It is a ready reference for factorization practice, hashing table sizes, test data and checking a primality claim.

Use it when

  • You need small primes for examples, test cases or table sizes.
  • You need to confirm a number up to 541 is prime by lookup.

Watch out for

  • The list is finite and only covers the first 100 primes; use a primality test for larger numbers.
  • 2 is the only even prime.

The data

PositionValue
12
23
35
47
511
613
717
819
923
1029
1131
1237
1341
1443
1547
1653
1759
1861
1967
2071
2173
2279
2383
2489
2597
26101
27103
28107
29109
30113
31127
32131
33137
34139
35149
36151
37157
38163
39167
40173
41179
42181
43191
44193
45197
46199
47211
48223
49227
50229
51233
52239
53241
54251
55257
56263
57269
58271
59277
60281
61283
62293
63307
64311
65313
66317
67331
68337
69347
70349
71353
72359
73367
74373
75379
76383
77389
78397
79401
80409
81419
82421
83431
84433
85439
86443
87449
88457
89461
90463
91467
92479
93487
94491
95499
96503
97509
98521
99523
100541

Fields

The shape of this dataset, read from the data itself: every column, its type and a real value. Agents can use this to plan a query without fetching the whole document.

SectionFieldTypeExample
datapositioninteger1
datavalueinteger2

Fetch the same bytes

The static files contain the same reference rows as the API, with no API rate limit. Live metadata, such as view counts, may differ. Use the API for content negotiation; use the static files for a cacheable snapshot.

curl "https://yjtoon.yunusemrevurgun.com/api/dataset/prime-numbers-list?format=toon"
const res = await fetch(
  "https://yjtoon.yunusemrevurgun.com/static-data/dataset/prime-numbers-list.toon"
);
const toon = await res.text();

Rate limit: 120 requests per minute per IP, no key and no signup. API reference →

Topics

  • math
  • primes
  • numbers

Search the library

Search by a topic, title, or keyword.

Start with a collection

Browse all 205 datasets