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.

A135771 Terms in A136112 which are not in A135768.

This page as a plain text file.
%I A135771 #10 Mar 31 2012 13:48:25
%S A135771 5,23,51,71,72,99,123,239,263,311,359,479,599,699,743,863,911,1031,
%T A135771 1103,1151,1431,1563,1583,1823,1851,1863,2111,2543,2663,3023,3119,
%U A135771 3191,3291,3671,3719,3863,4131,4203,4271,4463,4671,4703,5039,5231,5351,5391,5399
%N A135771 Terms in A136112 which are not in A135768.
%C A135771 Pentagonal-Indices of terms in A136113 which are not in A135769.
%C A135771 A135768 resp. A135769 are subsequences of A136112 resp. A136113; the present sequence gives the indices of the elements of the former which are not in the latter: A136113(A135771(k)), k=1,2,3,... are the pentagonal numbers P(m) which are not the difference of two pentagonal numbers P(n)-P(q) with n,q>m, but only with n>m>q. A136112(A135771(k)) are the corresponding indices of the pentagonal numbers.
%H A135771 Donovan Johnson, <a href="/A135771/b135771.txt">Table of n, a(n) for n = 1..200</a>
%F A135771 Equals the difference set A136112 \ A135768.
%e A135771 The first terms of this sequence correspond to the following elements of A136113:
%e A135771 P_5 = P_7 - P_5,
%e A135771 P_23 = P_24 - P_7,
%e A135771 P_51 = P_66 - P_42,
%e A135771 P_71 = P_74 - P_21,
%e A135771 P_72 = P_80 - P_35,
%e A135771 P_99 = P_104 - P_32,
%e A135771 P_123 = P_144 - P_75,
%e A135771 P_239 = P_249 - P_70,
%e A135771 P_263 = P_274 - P_77,
%e A135771 P_311 = P_324 - P_91,
%e A135771 P_359 = P_374 - P_10.
%o A135771 (PARI) P(n)=n*(3*n-1)/2
%o A135771 isPent(t)=P(sqrtint((t*2)\3)+1)==t
%o A135771 {for( i=1,999, for( j=1,i-1, isPent(P(i)+P(j))|next; for( k=i+1,(P(i)-1)\3, isPent(P(i)+P(k))&next(3)); print1(i", "); next(2)))}
%Y A135771 Cf. A000326, A136112-A136118, A135768-A135769.
%K A135771 nonn
%O A135771 1,1
%A A135771 _R. J. Mathar_ and _M. F. Hasler_, Feb 07 2008