[seqfan] Re: Related to Collatz

Charles Greathouse charles.greathouse at case.edu
Tue Feb 16 19:51:03 CET 2016


There's code for it at
https://oeis.org/wiki/Sequence_Tools
(also for PARI/GP).

Charles Greathouse
Analyst/Programmer
Case Western Reserve University

On Tue, Feb 16, 2016 at 11:38 AM, Melvin M Peralta <melvinmperalta at gmail.com
> wrote:

> Does anyone have a resource they can point me to for generating a b-file
> from a list in Mathematica? I'm still very much new to this.
>
> Also, if you change the sequence so a(n + 1) = ceiling[sqrt(a(n))], you
> still don't get a permutation. In that case, a(1972)=a(2208)=6667
>
>
> On Tue, Feb 16, 2016 at 11:16 AM, Neil Sloane <njasloane at gmail.com> wrote:
>
> > It's now A268962
> >
> > Still interesting even if not a perm
> >
> > Could use a b-file, say 10K or 20K terms
> >
> > Graph looks like it will be interesting too
> >
> > Best regards
> > Neil
> >
> > Neil J. A. Sloane, President, OEIS Foundation.
> > 11 South Adelaide Avenue, Highland Park, NJ 08904, USA.
> > Also Visiting Scientist, Math. Dept., Rutgers University, Piscataway, NJ.
> > Phone: 732 828 6098; home page: http://NeilSloane.com
> > Email: njasloane at gmail.com
> >
> >
> > On Tue, Feb 16, 2016 at 10:32 AM, Hans Havermann <gladhobo at teksavvy.com>
> > wrote:
> >
> > > > a(1) = 1, a(2) = 2
> > > > a(n + 1) = floor[sqrt(a(n))], if not already in the sequence
> > > > otherwise, a(n + 1) = a(n) + a(n - 1)
> > > ...
> > > > The biggest question is if it's an integer permutation.
> > >
> > > a(1274) = 39, a(1275) = 1627; floor(sqrt(1627)) = 40 = a(709), already
> in
> > > the sequence, so a(1276) = 39 + 1627 = 1666. But a(708) = 1666 also, so
> > the
> > > sequence will not be an integer permutation.
> > >
> > > _______________________________________________
> > >
> > > Seqfan Mailing list - http://list.seqfan.eu/
> > >
> >
> > _______________________________________________
> >
> > Seqfan Mailing list - http://list.seqfan.eu/
> >
>
>
>
> --
> Melvin M. Peralta
> 440.391.0073
>
> _______________________________________________
>
> Seqfan Mailing list - http://list.seqfan.eu/
>



More information about the SeqFan mailing list