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.

A362914 a(n) = size of largest subset of {1..n} such that no difference between two terms is a prime.

This page as a plain text file.
%I A362914 #34 May 18 2023 07:40:02
%S A362914 1,2,2,2,2,2,2,2,3,3,4,4,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,
%T A362914 9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,
%U A362914 15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19
%N A362914 a(n) = size of largest subset of {1..n} such that no difference between two terms is a prime.
%C A362914 Suggested by Ben Green's Number Theory Web Seminar on May 11 2023.
%H A362914 Martin Ehrenstein, <a href="/A362914/b362914.txt">Table of n, a(n) for n = 1..127</a>
%H A362914 Ben Green, On Sarkozy's theorem for shifted primes, <a href="https://www.ntwebseminar.org/previous-talks">Number Theory Web Seminar</a>, May 11 2023; Youtube video https://www.youtube.com/watch?v=5JH_YshJoCo.
%F A362914 Taking numbers of the form 4k + 1 <= n gives a(n) >= 1 + floor((n - 1) / 4). - _Zachary DeStefano_, May 16 2023
%e A362914 The first few examples where a(n) increases are {1}, {1,2}, {1,5,9}, and {1,2,10,11}.
%Y A362914 Other entries of the form "size of largest subset of {1...n} such that no difference between two terms is ...": a square: A100719; a prime - 1: A131849; a prime + 1: A362915.
%K A362914 nonn
%O A362914 1,2
%A A362914 _N. J. A. Sloane_, May 15 2023
%E A362914 a(12)-a(40) from _Zachary DeStefano_, May 15 2023
%E A362914 a(41)-a(75) from _Martin Ehrenstein_, May 16 2023