Talk:Hickerson series of almost integers

From Rosetta Code


I stuck the first five nearest integers from the series into The On-Line Encyclopedia of Integer Sequences whereupon I discovered it as series A034172 and the search for terms mentions more series. --Paddy3118 (talk) 11:02, 1 January 2014 (UTC)

range 1 to 17[edit]

Why does the reference article claim 1 to 17 when it also has 'almost integers' only up to 15? --Walterpachl (talk) 11:59, 4 January 2014 (UTC)

Why indeed? I just put it down to a hasty compilation of the page. It did point out to me that there was a task to be done though :-)
--Paddy3118 (talk) 16:35, 4 January 2014 (UTC)
I just made this point to the MathWorl team. --Paddy3118 (talk) 17:30, 4 January 2014 (UTC)
Very well. Why not The function is (erroneously) said to produce...--Walterpachl (talk) 07:32, 5 January 2014 (UTC)
Because I am not sure if they have some weird/esoteric definition of almost integer. I usually come to them with my maths problems so allowed for them to be "right" in a way unfamiliar to me. --Paddy3118 (talk) 11:00, 5 January 2014 (UTC)

Perl 6 comment[edit]

Hi Timtoady, I put the comment # Looks like you failed 2 tests of 17 outside the <pre>...</pre> block (but still in the output section) just to emphasise that it was not output printed by the program but something added in after. Or so I thought after scanning the Perl 6 source for that line as code. --Paddy3118 (talk) 17:18, 4 January 2014 (UTC)

That summary is output by the Test module we're using. Test Anything Protocol (TAP) has a long and storied history in Perl—most Perl modules come with oodles of tests, so it's pretty baked into the culture to use Test (or one of its derivatives) whenever you can. So there's no explicit print of the summary; it just happens automatically on any test exit with less than full success. It's a comment so that TAP will ignore it. --TimToady (talk) 03:58, 5 January 2014 (UTC)
Thanks. I get it now. --Paddy3118 (talk) 07:16, 5 January 2014 (UTC)


Perhaps the Clojure entry was deleted by mistake. Too many edits in a short time? -bearophile (talk) 19:51, 4 January 2014 (UTC)

Apparently so: I changed < pre > to < /pre > at the bottom :-( --Walterpachl (talk) 20:00, 4 January 2014 (UTC)


I refactored the Haskell example as it used a function that did too many things, so I split it up. The output now has less unecessary text, tell me if a more verbose output is required. --Zorro1024 (talk) 11:18, 12 March 2016 (UTC)