Talk:Quadrat special primes: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
Line 15: Line 15:
<br>'''47''' &nbsp; would be the &nbsp; '''5<sup>th</sup>''' &nbsp; ''quadrat special prime'',&nbsp; ··· &nbsp; &nbsp; &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 17:25, 28 March 2021 (UTC)
<br>'''47''' &nbsp; would be the &nbsp; '''5<sup>th</sup>''' &nbsp; ''quadrat special prime'',&nbsp; ··· &nbsp; &nbsp; &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 17:25, 28 March 2021 (UTC)


:Correction in Ring
== Correction in Ring ==
<br> I corrected code and output in Ring Programming Language as you suggested.--[[User:CalmoSoft|CalmoSoft]] ([[User talk:CalmoSoft|talk]]) 18:37, 28 March 2021 (UTC)
<br> I corrected code and output in Ring Programming Language as you suggested.--[[User:CalmoSoft|CalmoSoft]] ([[User talk:CalmoSoft|talk]]) 18:37, 28 March 2021 (UTC)

Revision as of 18:37, 28 March 2021

task clarification

I think the word   quadrat   needs to be defined in this context.


If it means integers raised to the 2nd power,   then:

  the   prime 2     +     12     =     3.


Thus:
  3   would be the   2nd   quadrat special prime.
  7   would be the   3rd   quadrat special prime,
11   would be the   4th   quadrat special prime,
47   would be the   5th   quadrat special prime,  ···         -- Gerard Schildberger (talk) 17:25, 28 March 2021 (UTC)

Correction in Ring


I corrected code and output in Ring Programming Language as you suggested.--CalmoSoft (talk) 18:37, 28 March 2021 (UTC)