login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A092859 "Difference" of the sequences of triangular numbers (A000217) and the primes (cf. A092858). 6
3, 4, 5, 7, 12, 13, 16, 18, 19, 22, 23, 30, 31, 38, 39, 40, 42, 43, 46, 48, 49, 50, 51, 52, 53, 56, 57, 58, 60, 61, 68, 69, 70, 72, 73, 80, 81, 82, 84, 85, 86, 87, 88, 89, 92, 93, 94, 95, 96, 98, 99, 100, 102, 103, 106, 108, 110, 111, 112, 113, 121, 122, 123, 124, 125, 126 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

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.

LINKS

Table of n, a(n) for n=1..66.

Ferenc Adorjan, Binary mapping of monotonic sequences and the Aronson function

PROG

(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)}

CROSSREFS

Cf. A092855, A051006, A092857, A092858, A092860, A092861, A092862, A092863, A092874.

Sequence in context: A300841 A023713 A032890 * A173444 A120424 A139440

Adjacent sequences:  A092856 A092857 A092858 * A092860 A092861 A092862

KEYWORD

easy,nonn

AUTHOR

Ferenc Adorjan (fadorjan(AT)freemail.hu)

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 05:34 EDT 2021. Contains 343199 sequences. (Running on oeis4.)