Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
<includeonly><!-- Note: The calculator r_x are two ahead of the text r_x -->
{{Calculator-hideifzero|formula=ifgreaterorequal(curstep,{{#expr:{{{n}}}*2}},1,0)|starthidden=1|1={{#ifeq:{{{n}}}|0||<hr>}}{{calculator|formula=r{{{n}}}|type=plain|style=background-color: hsl(calc(var(--calculator-colorstep{{#expr:{{{n}}}*2-2}}) * 0.39215 + 55),100%,70%,calc(var(--calculator-colorstep{{#expr:{{{n}}}*2-2}}) + var(--calculator-colorstep{{#expr:{{{n}}}*2}})))}} = q<sub>{{{n}}}</sub> × {{calculator|formula=r{{#expr:{{{n}}}+1}}|type=plain|style=background-color: hsl(
{{Calculator-hideifzero|formula=ifgreaterorequal(curstep,{{#expr:{{{n}}}*2+1}},1,0)|starthidden=1|1=q<sub>{{{n}}}</sub> = {{calculator|formula=floor(r{{{n}}}/r{{#expr:{{{n}}}+1}})|id=q{{#expr:{{{n}}}+2}}|type=plain}} ; r<sub>{{{n}}}</sub> = {{calculator|formula=r{{{n}}}%r{{#expr:{{{n}}}+1}}|id=r{{#expr:{{{n}}}+2}}|type=plain|style=background-color: hsl(155,100%,70%,var(--calculator-colorstep{{#expr:{{{n}}}*
{{calculator|type=hidden|id=colorstep{{#expr:{{{n}}}*2+1}}|formula=ifequal(curstep,{{{n}}}*2+1,255,0)}}
</includeonly>
|