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.

A256619 Numbers n such that there are no primes in the interval [b(n), b(n+1) - 1], where b(n) = 1 + Sum_{k=1..n} floor(1/2 + sqrt(2*k - 2)).

This page as a plain text file.
%I A256619 #13 Sep 08 2022 08:46:11
%S A256619 1,26,29,38,47,97,114,127,216,276,433,1094,1284
%N A256619 Numbers n such that there are no primes in the interval [b(n), b(n+1) - 1], where b(n) = 1 + Sum_{k=1..n} floor(1/2 + sqrt(2*k - 2)).
%C A256619 Numbers n such that there are no primes in the interval [A075349(n), A060432(n)].
%C A256619 Conjecture: the sequence is finite and complete.
%e A256619 1st row:  {1}              - no prime!
%e A256619 2nd row:  {2, 3}           - two primes (2 and 3).
%e A256619 3rd row:  {4, 5}           - one prime (5).
%e A256619 4th row:  {6, 7, 8}        - one prime (7).
%e A256619 5th row:  {9, 10, 11}      - one prime (11).
%e A256619 6th row:  {12, 13, 14}     - one prime (13).
%e A256619 7th row:  {15, 16, 17, 18} - one prime (17).
%e A256619 8th row:  {19, 20, 21, 22} - one prime (19).
%e A256619 9th row:  {23, 24, 25, 26} - one prime (23).
%e A256619 10th row: {27, 28, 29, 30} - one prime (29).
%e A256619 ...
%e A256619 26th row: {120, 121, 122, 123, 124, 125, 126} - no primes!
%e A256619 ...
%e A256619 29th row: {141, 142, 143, 144, 145, 146, 147, 148} - no primes!
%e A256619 ...
%o A256619 (Magma) lst:=[]; k:=1284; b:=1; e:=0; for n in [1..k] do b:=b+Floor(1/2+Sqrt(2*n-2)); e:=e+Floor(1/2+Sqrt(2*n)); if IsZero(#[m: m in [b..e] | IsPrime(m)]) then Append(~lst, n); end if; end for; lst;
%K A256619 nonn
%O A256619 1,2
%A A256619 _Arkadiusz Wesolowski_, Apr 05 2015