Skip to content

Instantly share code, notes, and snippets.

@erikson1970
Created April 3, 2022 13:06
Show Gist options
  • Save erikson1970/0395385ec7245607e074babf2f8796c1 to your computer and use it in GitHub Desktop.
Save erikson1970/0395385ec7245607e074babf2f8796c1 to your computer and use it in GitHub Desktop.
Compressed US Zip Code sequences

Long Running Sequences of legal US Postal codes

Pseudo-Compressed Zip Code table. Any 5 consecutive numbers in these sequences are legal US Zip (postal) codes. This is helpful for building dummy data in databases.

Starting Len Sequence
19807 50 198070585775925571950465464040390774860523389028027397
20575 51 2057523232605068040228326175650207072901029204027258558
26041 56 260412288020703105101582931605544033044890744442221913461358
38859 58 38859024035973120853082243604992281157652315482218301270145142
46015 52 46015701830124737412154120330216443199402725322201550268
47625 57 4762501546129920744272433013388241046680461611252758385775550
51654 52 51654433119331221206120624445146070615163121723304241144
56017 67 56017504350680154212288012701653051444555304014273502067495466204685201
56082 53 560827017847133420221012010292060678412262413334801540121
57770 51 5777056339041031018417121930124381136562432719980257189
57799 51 5779934120156466804236675303220404956444306776133052337
60550 53 605501380448504338151630215432404226208251333515032320138
62320 50 623201376182212201550271441101029202382401655405233586
63030 50 630304017603304230230150347729020210170514471024202269
63371 50 633710197077656401760446128538120155029402283101028544
70783 54 7078379977206801634430805418040212790680425644641543240118
74502 51 7450233804631294160636010540618325134442241240544308234
76006 50 760067045371725019853515102724486054180468524087410527
76244 54 7624448301260304992561274804635610176051242728115754215244
83703 50 837037330125312212051502542285123023302297124333388211
85548 51 8554834667146383262501570549261593015046730106330248169
92088 51 9208853177863144142128332457683606411374502060803058281
97049 51 9704942566667530380545210176017504576836444555302940964
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment