[seqfan] Re: Haskell program in A202262
Peter Kagey
peterkagey at gmail.com
Thu Dec 19 21:04:55 CET 2019
Hi Michel,
I ran Reinhard’s Haskell program and it produced the following output:
[4,6,8,9,44,46,48,49,64,66,68,69,84,86,88,94,96,98,99,444,446,448,464,466,468,469,484,486,488,489,494,496,498,644,646,648,649,664,666,668,669,684,686,688,689,694,696,698,699,844,846,848,849,864,866,868,869,884,886,888,889,944,946,948,949,964,966,968,969,984,986,988,989,994,996,998,999,4444,4446,4448,4449,4464,4466,4468,4469,4484,4486,4488,4489,4644,4646,4648,4664,4666,4668,4669,4684,4686,4688,4689]
This means that the Haskell program is faulty.
Here’s the program on tio.run <https://tio.run/#%23dVPLbptAFN3zFSdSpDL22AWaR2MFq4t20Si7LLqgKML1uCAPDw/jBFX@d/feAVK7atl47uOce@7DedZuldbHY1E2tbH4nNls/li0Fv6@2tR6bYTnlVlRIUazt0/WPFa4RJvXr/Rjs61CGATIoiCKbqJnTUjPO7UIl1xJ3Eh8lLhLMZ0i6XDAHvezM5jEC7tOk6WHf39aWXTEHAaYENMUL4x@H@MOhwOygCRdh5wRI0hJz@BYLPC1suqnMpgt@fkW4faGd6/64gL@xtTlmF/NQuGdZcQYBoQfOfxQEp6@q8BFBV5zZRTp52Ah0bTvPvnNommFIOTDngfM/F@qfUkJrLQR/@3XfZQ1BdUpNujzYXNVETOUbhVXEIJ7/aOCG06GDtLzSIxVRiDahs4MNzjq7f3gtUUSHySuJW4lQiockhXeppw0gFjEAptCWzIaU5QKZd3T9Jabq9bw/SUCgTmF16jEcDrf8kIr@N87Xkc36XAfc7AnZ5JnYucKTEpMpiaqS5QOqqhrJ5YTXcR3TqppWh5yUtFxbGlmhs5t624rmM9TSTa9TesaOeGKweskvOrsU/FLjXwhkjAVnPx3pOX3iortCNy7fOebYCfGXSZn5XezkBSs2Fy10h0yj5FRk@10Jd2ADBEu@XLX9G8ciMcC40G@7fV4/A0> with all of the necessary imports and supporting functions.
It looks like Reinhard’s program computes numbers in which all *initial* substrings are composite.
pk
> On Dec 19, 2019, at 4:28 AM, michel.marcus at free.fr wrote:
>
> Hello Seqfan,
>
>
> Can someone check if Haskell program in A202262 is ok ?
>
>
> Thanks.
>
>
> MM
>
> --
> Seqfan Mailing list - http://list.seqfan.eu/
More information about the SeqFan
mailing list