[seqfan] Re: The Ghost Iteration

Harvey P. Dale hpd at hpdale.org
Sat Nov 9 19:03:01 CET 2019


Eric:

            Have you checked your ghost process against 8059?
           Best,
           Harvey



-----Original Message-----
From: SeqFan <seqfan-bounces at list.seqfan.eu> On Behalf Of Éric Angelini
Sent: Saturday, November 9, 2019 10:50 AM
To: Sequence Fanatics Discussion list <seqfan at list.seqfan.eu>
Subject: [seqfan] The Ghost Iteration



Hello SeqFans,

Take an integer like 2019.

We will call "ghost" the concatenation of the absolute differences of its digits.

The ghost of 2019 is thus 218.

(We don't keep the possible leading zeros of a ghost: for example, the ghost of 1186 is 72 (not 072).



The A rule:

If a ghost is even, add it to the starting integer. Else subtract it. And iterate from there.



  2019

+  218   <-- first ghost

------

  2237

+   14   <-- second ghost

------

  2251

+   34   <-- third ghost

------

  2285

-   63   <-- fourth ghost

------

  2222

=    0   <-- last and zero ghost



It seems that every integer will have a zero ghost at the end of the process.

[...]

More explanations on my weblog:

https://urldefense.proofpoint.com/v2/url?u=http-3A__cinquantesignes.blogspot.com_2019_11_the-2Dghost-2Diteration.html&d=DwIGaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=XiYos0f3ggKs3-anzJfncQ&m=xHoeKGWMf3FKSPRWy4kwxl6Ssbhnidw7pQ4WcwncacQ&s=rZBo-8S2TFFYz4b-UxrBFY4XhoBqgqKATUC-ytas4YM&e=

Best,

É.



--

Seqfan Mailing list - https://urldefense.proofpoint.com/v2/url?u=http-3A__list.seqfan.eu_&d=DwIGaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=XiYos0f3ggKs3-anzJfncQ&m=xHoeKGWMf3FKSPRWy4kwxl6Ssbhnidw7pQ4WcwncacQ&s=Idq6lz7oSxqeFTHwlXwJP7ej6fvJTBksAwD_izSAbIQ&e=


More information about the SeqFan mailing list