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.

Showing 1-2 of 2 results.

A134651 Numbers which are the sum of two terms from A001043.

Original entry on oeis.org

10, 13, 16, 17, 20, 23, 24, 26, 29, 30, 32, 35, 36, 38, 41, 42, 44, 47, 48, 50, 54, 57, 60, 64, 65, 66, 68, 70, 72, 73, 76, 78, 80, 82, 83, 84, 86, 88, 89, 90, 92, 94, 95, 96, 98, 102, 104, 105, 108, 110, 112, 114, 117, 118, 120, 124, 125, 126, 128, 130, 132, 133, 136, 138, 140
Offset: 1

Views

Author

N. J. A. Sloane, Jan 25 2008

Keywords

Examples

			Recall that A001043 begins with 5,8,12, ..
So 10 (5+5), 13 (5+8), 16 (8+8), 17 (5+12), 20 (8+12) are in the sequence.
		

Crossrefs

Programs

  • PARI
    issum(i, vss) = {for (j = 1, #vss, if (vss[j] > i, break); for (k = 1, #vss, sv = vss[j] + vss[k]; if (sv == i, return (1)); if (sv > i, break););); return (0);}
    lista(nn) = {vec = vector(nn, i, i); vss = select(i->((precprime((i-1)/2) + nextprime(i/2) == i) && (i>2)), vec); for (i = 1, nn, if (issum(i, vss), print1(i, ", ")););} \\ Michel Marcus, Oct 14 2013

A135045 Numbers in A001043 which are the sum of two terms from A001043 in a unique way.

Original entry on oeis.org

24, 30, 68, 268, 434, 520
Offset: 1

Views

Author

Manuel Valdivia, Feb 10 2008; definition corrected Feb 15 2008

Keywords

Comments

A subsequence of A001043 INTERSECT A134651.

Examples

			24 = 12 + 12, A001043(5) = A001043(3) + A001043(3)
30 = 12 + 18, A001043(6) = A001043(3) + A001043(4)
68 = 8 + 60, A001043(11) = A001043(2) + A001043(10)
268 = 52 + 216, A001043(32) = A001043(9) + A001043(28)
434 = 24 + 410, A001043(47) = A001043(5) + A001043(46)
520 = 12 + 508, A001043(55) = A001043(3) + A001043(54)
		

Crossrefs

Showing 1-2 of 2 results.