[seqfan] Re: invasion of third rate programs

zak seidov zakseidov at yahoo.com
Tue Dec 18 11:01:17 CET 2018

In A123322, two codes:

1. Select[Range[25572000], PrimeNu[#]==8&] 


2. (PARI) is(n)=bigomega(n)==8
 are not in accord with data.

  1. gives between 9699690 and  25571910
 additionally  one (wrong) term 23483460
 while 2. gives  between 9699690 and  11741730  
additionally 45168 (wrong) terms. 


    On Monday, December 17, 2018, 7:51:08 PM GMT+2, Joerg Arndt <arndt at jjj.de> wrote:  
 Dear seqfans,
here is something that really bothers me, and for quite some time.

Some contributers put in a lot of programs, in several languages,
but exclusively for sequences that are trivially to compute.
The problem is that quite a few of those contributers produce
programs of very questionable quality.

In  https://oeis.org/draft/A009949
"Factorial expansion of sqrt(2) = Sum_{n>=1} a(n)/n!, using greedy algorithm."
there is (in FOUR languages, here just the Magma version)
  SetDefaultRealField(RealField(250));  [Floor(Sqrt(2))] cat [Floor(Factorial(n)*Sqrt(2)) - n*Floor(Factorial((n-1))*Sqrt(2)) : n in [2..80]];

For every digit the constant is evaluated twice and the idiom
  Floor(Factorial(n)*Sqrt(2)) - n*Floor(Factorial((n-1))*Sqrt(2))
is unmitigated idiocy, just as
  Floor(2^n*Sqrt(2)) - 2*Floor(2^(n-1)*Sqrt(2))
would be for computing the binary expansion.

The idiom above has already spread, see

Another class of stupidly inefficient programs goes as follows.
To compute one term, compute the whole sequence up to that terms
and discard all terms but the final one.

Yet another is using pow and log for digit operations.
This has the added benefit of becoming wrong all the time.

There is NO excuse for such bone headed programs, they just
make the OEIS look bad.

The problem just described appears predominantly with people
jumping into other peoples edits. We simply should forbid
that (by technical means).

1) Learning to program is fun, but don't just dump every morsel
  produced on the way into the OEIS.
2) If your goal is just to put your name as often into the OEIS
  as you possible can, then you are doing something VERY wrong.

Best regards,  jj

P.S.: I may not have a chance to check seqfan in the next few days,
just so nobody wonders if I reply only around Christmas.

Seqfan Mailing list - http://list.seqfan.eu/

More information about the SeqFan mailing list