[seqfan] Re: A133481

Charles Greathouse charles.greathouse at case.edu
Mon Feb 27 15:16:09 CET 2012


Based on the comment, the intent of the sequence is not that

k^n | k!

but that

k^n || k!,

that is, k^n | k! but k^(n+1) does not divide k!.

Good catch -- the definition should reflect this.

Charles Greathouse
Analyst/Programmer
Case Western Reserve University

On Mon, Feb 27, 2012 at 8:57 AM, Harvey P. Dale <hpd1 at nyu.edu> wrote:
>            Here is a Mma program that implements the definition of this
> sequence:
>
>
>
> kdn[n_]:=Module[{k=2},While[!Divisible[k!,k^n],k++];k];
>
> Join[{1},Array[kdn,60,2]]
>
>
>
> It generates terms, however, that are quite different from those in the
> OEIS.  I have manually checked several of the terms generated by the
> above program that differ from the published terms, and the generated
> terms are accurate (so the published terms appear to be erroneous).
>
>
>
>            Tony Noe, however, has created a b-file for the sequence so
> I'm concerned that I'm probably wrong, somehow, in my understanding of
> the definition of the sequence.
>
>
>
>            Best,
>
>            Harvey
>
>
> _______________________________________________
>
> Seqfan Mailing list - http://list.seqfan.eu/



More information about the SeqFan mailing list