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.

A092859 "Difference" of the sequences of triangular numbers (A000217) and the primes (cf. A092858).

This page as a plain text file.
%I A092859 #6 Jul 21 2013 03:19:59
%S A092859 3,4,5,7,12,13,16,18,19,22,23,30,31,38,39,40,42,43,46,48,49,50,51,52,
%T A092859 53,56,57,58,60,61,68,69,70,72,73,80,81,82,84,85,86,87,88,89,92,93,94,
%U A092859 95,96,98,99,100,102,103,106,108,110,111,112,113,121,122,123,124,125,126
%N A092859 "Difference" of the sequences of triangular numbers (A000217) and the primes (cf. A092858).
%C A092859 Here the complement of the sequence of primes (1 and the composites) is "added" to the sequence of triangulars, according to the definition outlined in A092858.
%H A092859 Ferenc Adorjan, <a href="http://web.axelero.hu/fadorjan/aronsf.pdf">Binary mapping of monotonic sequences and the Aronson function</a>
%o A092859 (PARI) {sdif(a,b)= /*Returns the "difference" of monotonic sequences a and b */ return(mtinv(mt(a)+mt(compl(b)))) /* the functions mt(a) and mtinv(r) are defined in A051006 and A092855, respectively */ } {compl(v)=/* Returns the complement of v monotonic positive sequence */ local(n,p=0,vv=[]);n=matsize(v)[2];for(i=1,n, for(j=p+1,v[i]-1,vv=concat (vv,j));p=v[i]);return(vv)}
%Y A092859 Cf. A092855, A051006, A092857, A092858, A092860, A092861, A092862, A092863, A092874.
%K A092859 easy,nonn
%O A092859 1,1
%A A092859 Ferenc Adorjan (fadorjan(AT)freemail.hu)