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.

A125772 Primes not of the form j*T_k +/- 1, where T_k is the k-th triangular number greater than 9.

This page as a plain text file.
%I A125772 #5 Mar 30 2012 18:40:42
%S A125772 2,3,5,7,13,17,23,47,53,97,103,163,173,193,227,257,283,317,347,353,
%T A125772 367,373,383,443,457,487,523,557,563,607,653,677,733,743,773,787,823,
%U A125772 853,877,887,907,977,983,997,1033,1097,1163,1193,1213,1237,1277,1283,1307
%N A125772 Primes not of the form j*T_k +/- 1, where T_k is the k-th triangular number greater than 9.
%C A125772 Since all primes would eventually appear in A125765 or A125766 because (p +/-1) times 1(1+1)/2 equals (p +/- 1) let us not use the first triangular number 1.
%e A125772 17 is not of the form j*T_k +/- 1 for any j = 1 or 2 and the triangular numbers, 10, 15 or 21.
%t A125772 s = {}; Do[m = j*k*(k + 1)/2; If[PrimeQ[m - 1], AppendTo[s, m - 1]]; If[PrimeQ[m + 1], AppendTo[s, m + 1]], {j, 140}, {k, 4, 43}]; Complement[ Prime@ Range@220, Take[Union@s, 200]]
%Y A125772 Cf. Complement of A125771.
%K A125772 nonn
%O A125772 1,1
%A A125772 _Jonathan Vos Post_ & _Robert G. Wilson v_, Dec 05 2006