Talk:Quadrat special primes: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎task clarification: added a possible suggestion.)
Line 14: Line 14:
<br>'''11''' &nbsp; would be the &nbsp; '''4<sup>th</sup>''' &nbsp; ''quadrat special prime'',
<br>'''11''' &nbsp; would be the &nbsp; '''4<sup>th</sup>''' &nbsp; ''quadrat special prime'',
<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)


How about using the phrase &nbsp; ''smallest squares of positive integers''? &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:53, 28 March 2021 (UTC)

Possibly also list &nbsp; ''for example'': &nbsp; &nbsp; 1, 4, 9, 16, 25, 36, 49, 64, 81, &nbsp; ··· &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:53, 28 March 2021 (UTC)


== Correction in Ring ==
== Correction in Ring ==

Revision as of 18:54, 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)


How about using the phrase   smallest squares of positive integers?     -- Gerard Schildberger (talk) 18:53, 28 March 2021 (UTC)

Possibly also list   for example:     1, 4, 9, 16, 25, 36, 49, 64, 81,   ···     -- Gerard Schildberger (talk) 18:53, 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)