[seqfan] Re: Rif: A light variation
M. F. Hasler
seqfan at hasler.fr
Thu Jan 21 00:58:39 CET 2016
On Wed, Jan 20, 2016 at 4:21 PM, <john.mason at lispa.it> wrote:
> A variation on Eric's theme could be (if not already present) :
> a(n) is smallest positive integer not already in a() such that a(n) + the
> sum of the digits of a(n-1) is prime. a(1)=1.
Nice idea, I get
which seems not yet in the OEIS.
Up to n=1000, il looks "smooth" a(1000)=879 is also the least number not
But then, the smallest unused number starts growing much slower than n,
e.g. at n=5000, the least unused number is only 1326,
and at n=10^4 the least unused number is 6912 (but only 58 numbers between
this one and 10^4 are not used then).
(The difference 5000-1326 is however not smaller but even a bit larger than
10^4-6912. Maybe the sequence of the "late birds" would be interesting to
look at to understand better where this sudden but then constant (?) gap of
about 3000 comes from.)
Is a() a permutation of the natural numbers?
In spite of what precedes, my wild guess (not to say conjecture) would be
More information about the SeqFan