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.

A240476 Primes that are not midway between the closest flanking squarefree numbers.

Original entry on oeis.org

3, 5, 7, 11, 13, 23, 29, 31, 37, 41, 43, 47, 59, 61, 67, 71, 73, 79, 83, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 167, 173, 179, 181, 191, 193, 211, 223, 227, 229, 239, 241, 257, 263, 277, 281, 283, 311, 313, 317, 331, 347, 349, 353
Offset: 1

Views

Author

Chris Boyd, Apr 06 2014

Keywords

Comments

Primes for which the corresponding A240473(m) is not equal to A240474(m).
Primes not equal to the average of the closest flanking squarefree numbers.
Primes not equal to the average of three consecutive squarefree numbers.
Complement of A240475 relative to A000040.

Examples

			29 is a term because it is not midway between the closest flanking squarefree numbers 26 and 30.
On the other hand, 19 is not a term because it is midway between the closest flanking squarefree numbers 17 and 21.
		

Crossrefs

Programs

  • PARI
    forprime(p=1,353,forstep(j=p-1,1,-1,if(issquarefree(j),L=j;break));for(j=p+1,2*p,if(issquarefree(j),G=j;break));if(G-p!=p-L,print1(p", ")))