Talk:Juggler sequence: Difference between revisions

→‎Error in task: Corrected now.
(changed section header HTML tags, added a new discussion/talk topic.)
(→‎Error in task: Corrected now.)
 
(6 intermediate revisions by 3 users not shown)
Line 1:
__TOC__
 
== Bigger values of 'n' to try ==
 
Line 12 ⟶ 14:
== talk about a very delayed ''déjà vu'' ==
It wasn't after I backed up (archived) my   '''juggler'''   REXX program for this (draft) task   (to my archive/backup hard drive)   that I discovered a copy of my (draft) task for the this sequence   (I had put it aside for some reason,   and then forgot about it).   The old draft was created in March, 2016.   Oh well.   Not the first time, and it won't be the last, either.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:54, 18 August 2021 (UTC)
 
:I was surprised that someone hadn't made a task out of this before because it's quite a well known number sequence with an interesting background. Is there anything in your original draft that might be worth adding now? --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 16:10, 19 August 2021 (UTC)
 
:: My original draft (from 2016) didn't have as many "big integers" for stress testing, &nbsp; but it did have a much prettier (HTML <big> <nowiki> <math></nowiki></big>) formulas: &nbsp; &nbsp; '''floor''' &nbsp; and &nbsp; '''square root''' &nbsp; symbols, for two. &nbsp; I had copies the use of the &nbsp; '''floor''' &nbsp; from a Wikipedia site, &nbsp; but Rosetta Code didn't render it properly &nbsp; (lots of big red error messages). &nbsp; It took me a while to get those symbols to display properly without crashing something in Rosetta Code. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 17:06, 19 August 2021 (UTC)
 
::: I did wonder about making the formulas a bit prettier but I'm always reluctant to use fancy formatting in case it doesn't render properly on all the different browsers people use. Also I've never been keen on the 'floor', 'ceil' and 'integer part' symbols which you need to examine quite closely to make sure that they're not just a value in square brackets. --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 18:18, 19 August 2021 (UTC)
 
:::: Yeah, as far as all the different browsers in use, it's hard to test them all, especially if I can't even install them. &nbsp; At this point, I'm pretty much stuck with FireFox, &nbsp; which is the only browser (for me, at this point on my old software) that is working). &nbsp; All the other common ones (popular ones) refuse to even install, &nbsp; my host operating system is too old. &nbsp; Even Microsoft I.E. (the one that came installed with my Microsoft Windows) no longer works. &nbsp; Well, it works well enough to tell me that it found an error somewhere (for some websites), &nbsp; a hit and miss situation. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:53, 19 August 2021 (UTC)
 
== Error in task ==
<big> a[k + 1] = floor(a[k] ^ 0.5) if k is even <big> ''' ''or'' ''' </big> </big>
<big> a[k + 1] = floor(a[k] ^ 1.5) if k is odd </big>
Should be
<big> a[k + 1] = floor(a[k] ^ 0.5) if a[k] is even <big> ''' ''or'' ''' </big> </big>
<big> a[k + 1] = floor(a[k] ^ 1.5) if a[k] is odd </big>
 
:Hey, thanks for noticing that which I've corrected now on the main page. Fortunately (AFAICT) it doesn't appear to have adversely affected anyone's solution. --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 07:59, 4 April 2022 (UTC)
9,483

edits