Talk:Strange plus numbers: Difference between revisions
Content added Content deleted
(→Help with Description: Added some comments.) |
(→Help with Description: Further comment.) |
||
Line 7: | Line 7: | ||
::: Hope there's not going to be too many of these - don't want another ''unixdict.txt'' situation! --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 10:17, 23 February 2021 (UTC) |
::: Hope there's not going to be too many of these - don't want another ''unixdict.txt'' situation! --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 10:17, 23 February 2021 (UTC) |
||
:::: There appears to be a logic error in his code. Think the last bit should be: |
|||
::::<lang ring>if flag = 1 |
|||
see " " + str |
|||
row = row + 1 |
|||
if row % 10 = 0 |
|||
see nl |
|||
ok |
|||
ok</lang> --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 10:55, 23 February 2021 (UTC) |
Revision as of 10:55, 23 February 2021
Help with Description
Is there an external, more decriptive link for "strange plus numbers"? Can someone help with the description? Thanks. --Paddy3118 (talk) 07:37, 23 February 2021 (UTC)
- It seems that strange numbers and strange plus numbers have been coined by CalmoSoft. The web seems to know nothing of them. 498 is a 'strange plus number' because 4+9 is prime and 9+8 is prime. Every sum of adjacent pairs of digits must be prime. --Chunes (talk) 08:13, 23 February 2021 (UTC)
- There's something here but the definition is not the same as CalmoSoft's. Curiously, he always misses off the first column of output in his Ring solutions.
- There appears to be a logic error in his code. Think the last bit should be:
- <lang ring>if flag = 1
see " " + str row = row + 1 if row % 10 = 0 see nl ok