cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A101984 Numbers that occur exactly once in A101909 (= count of primes between 2n and 4n).

This page as a plain text file.
%I A101984 #14 Sep 30 2019 10:12:43
%S A101984 1,3,5,8,22,36,37,46,47,48,53,63,83,98,99,101,105,108,113,114,127,135,
%T A101984 139,148,150,155,158,171,172,173,174,175,177,178,188,205,210,218,219,
%U A101984 220,221,226,231,240,246,254,277,282,297,298,301,303,327,333,334,339
%N A101984 Numbers that occur exactly once in A101909 (= count of primes between 2n and 4n).
%e A101984 There are 5 primes between 16 and 32 and nowhere else between 2n and 4n.
%o A101984 (PARI) bet2n4n(n)={ my(b=vecsort(vector(n,x, my(c=0); forprime(y=2*x+1,4*x-1, c++); c))); print1(1","); for(x=1,n-2, if(b[x+1]>b[x] && b[x+1]<b[x+2], print1(b[x+1]",")))} \\ Edited and corrected, following a suggestion by _Don Reble_. - _M. F. Hasler_, Sep 29 2019
%Y A101984 Cf. A101909, A101947, A101983, A101985.
%K A101984 easy,nonn
%O A101984 1,2
%A A101984 _Cino Hilliard_, Jan 28 2005
%E A101984 Better name from _N. J. A. Sloane_, Sep 29 2019
%E A101984 Corrected a(22) and a(45), following an observation by _Don Reble_. - _M. F. Hasler_, Sep 29 2019