Talk:Lychrel numbers: Difference between revisions

m
No edit summary
 
(9 intermediate revisions by 5 users not shown)
Line 47:
I found the definition of Related numbers a bit tricky to parse (and fielded a question on irc from another user who was confused). Perhaps explicitly referring to OEIS sequence A088753 ("seed" Lychrel numbers) as well as A023108 (seed and related Lychrel numbers) would make this a little clearer?
Alternatively, by way of illustration: 196 is Lychrel, with its sequence beginning 196+691=887... 295 is Related because 295+592=887, and 887 already belongs to 196's sequence. --[[User:Aspectcl|Aspectcl]] ([[User talk:Aspectcl|talk]]) 13:21, 31 August 2015 (UTC)
: Re-worded using your suggested seed/related idea.--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 15:02, 31 August 2015 (UTC)
:: That reads much more clearly to me, and the example is better than mine for taking two steps. --[[User:Aspectcl|Aspectcl]] ([[User talk:Aspectcl|talk]]) 23:37, 31 August 2015 (UTC)
 
==simpler wording==
 
:: For:     ''1.   Take an integer n, greater than zero.''
 
:: Use:     ''1.   Take a positive integer n.''
 
-- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 16:30, 31 August 2015 (UTC)
 
:Isn't it the case that while the latter may be technically correct and less wordy, the former states more explicitly the omission of zero? I tend to want to keep the former. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 17:59, 31 August 2015 (UTC)
 
::: Zero is not positive.   Both are technically correct, I didn't imply that one was incorrect, I just stated an opinion that one sentence is more simpler (and cleaner).   -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 22:16, 31 August 2015 (UTC)
 
:: Why is this even an issue? Regardless of whether or not 0 is tested, 0 is not a Lychrel number because 0+0 = 0 and 0 is a palindrome. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 18:01, 31 August 2015 (UTC)
 
== How can a Related number be a palindrome? ==
 
We're asked to list "Seeds or related numbers" that are palindromes.
How is it possible that a related number is palindromic?
Surely that would stop its seed from being a Lycrel number?
Could someone provide an e.g. and explanation (or rewrite the task objetive)?
--[[User:Tim-brown|Tim-brown]] ([[User talk:Tim-brown|talk]]) 07:59, 11 September 2015 (UTC)
 
: |Hi Tim, there is a version of the algorithm that does not produce palindromes, but the key is in this:
:: ''Notice that the check for a palindrome happens after an addition.''
: That example starts with the palindromic number 55 but the check comes later.
: --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 21:03, 11 September 2015 (UTC)
 
: 4994 is an example of a related number which is a palindrome. There are other examples. And like Paddy said, we only reject the seed if a sum was a decimal palindrome. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 13:18, 12 September 2015 (UTC)
6,962

edits