mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Lounge (https://www.mersenneforum.org/forumdisplay.php?f=7)
-   -   Today, in myths! (https://www.mersenneforum.org/showthread.php?t=17494)

Uncwilly 2022-02-22 16:45

In YY-mm-DD format it is 22-2-22

retina 2022-02-22 17:08

TWOS-DAY 22-2-22 - The Saga Continues
 
[youtube]2XKuG7cA03A[/youtube]

Dr Sardonicus 2022-02-22 20:35

[QUOTE=Uncwilly;600510]In YY-mm-DD format it is 22-2-22[/QUOTE]I've had date input rejected as invalid more than once if a mm month number or dd day number less than 10 didn't have a leading zero. That would force it to be 2022-02-22.

We have the following:[code]? factor(220222)
%3 = [2, 1; 149, 1; 739, 1]

? factor(22022022)
%2 = [2, 1; 3, 1; 11, 1; 333667, 1][/code]

I do like the "22-2-22" presentation. It's palindromic, all twos, and 22222 has the factorization 2*41*271.

chalsall 2022-02-22 22:10

[QUOTE=Dr Sardonicus;600525]I've had date input rejected as invalid more than once if a mm month number or dd day number less than 10 didn't have a leading zero.[/QUOTE]

Completely tangential (forgive me)... When passing JSON around, integers (represented in ASCII) starting with "0" must be fully quoted to be valid.

Sorry... But, it took recently took me a little bit of geek-to-geek time to figure out why only a subset of a sample set being sent to me was failing...


All times are UTC. The time now is 03:28.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.