Show time-left only when it is meaningful.
[beanstalkd.git] / primes.c
blob9d3d4798caaed858ad7f840f5da1f22505c38b67
1 /* primes.c - exponentially increasing primes */
3 /* Copyright (C) 2008 Keith Rarick and Philotic Inc.
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #include <stdlib.h>
20 #include "primes.h"
22 size_t primes[] = {
23 12289,
24 24593,
25 49193,
26 98387,
27 196799,
28 393611,
29 787243,
30 1574491,
31 3148987,
32 6297979,
33 12595991,
34 25191989,
35 50383981,
36 100767977,
37 201535967,
38 403071937,
39 806143879,
40 1612287763,
41 3224575537UL,
42 #if _LP64
43 6449151103,
44 12898302233,
45 25796604473,
46 51593208973,
47 103186417951,
48 206372835917,
49 412745671837,
50 825491343683,
51 1650982687391,
52 3301965374803,
53 6603930749621,
54 13207861499251,
55 26415722998507,
56 52831445997037,
57 105662891994103,
58 211325783988211,
59 422651567976461,
60 845303135952931,
61 1690606271905871,
62 3381212543811743,
63 6762425087623523,
64 13524850175247127,
65 27049700350494287,
66 54099400700988593,
67 108198801401977301,
68 216397602803954641,
69 432795205607909293,
70 865590411215818597,
71 1731180822431637217,
72 #endif