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-4 of 4 results.

A145866 Number of representations of 2n as a sum of two terms of A145819.

Original entry on oeis.org

1, 1, 2, 1, 2, 2, 2, 1, 2, 2, 3, 1, 2, 1, 1, 1, 2, 2, 3, 1, 3, 4, 3, 1, 2, 3, 2, 1, 1, 1, 1, 1, 2, 2, 3, 1, 3, 3, 2, 1, 3, 2, 5, 1, 3, 1, 1, 1, 2, 1
Offset: 1

Views

Author

Vladimir Shevelev, Oct 22 2008

Keywords

Crossrefs

A145869 a(n) is the least even positive integer which is not expressible as a sum A145819(s)+A145819(t), if both of s,t differ from n.

Original entry on oeis.org

2, 2, 4, 8, 30, 16, 28, 24, 114, 40, 58, 48, 100, 72, 92, 88
Offset: 1

Views

Author

Vladimir Shevelev, Oct 22 2008

Keywords

Crossrefs

A152259 Union of values: A147568(n) and 2*A147568(n) - 1.

Original entry on oeis.org

3, 5, 9, 11, 13, 21, 25, 35, 37, 43, 45, 69, 73, 85, 89, 131, 133, 139, 141, 163, 165, 171, 173, 261, 265, 277, 281, 325, 329, 341, 345, 515, 517, 523, 525, 547, 549, 555, 557, 643, 645, 651, 653, 675, 677, 683, 685, 1029, 1033, 1045, 1049, 1093, 1097, 1109, 1113, 1285, 1289
Offset: 1

Views

Author

Vladimir Shevelev, Dec 01 2008

Keywords

Comments

Every even N>=6 is a sum of two terms of the sequence.

Crossrefs

Programs

  • Mathematica
    A000695[n_]:= FromDigits[IntegerDigits[n,2], 4];
    Table[(3+(-1)^n)*A000695[Floor[(2*n-2-(-1)^n)/4]] +4+(-1)^n , {n, 202}]//DeleteDuplicates//Sort (* G. C. Greubel, May 22 2023 *)
  • PARI
    a147568(n) = 2*fromdigits(binary(n), 4) + 3;
    lista(nn) = {my(v = vector(2*nn+2), ind = 0); for (n=0, nn, my(x = a147568(n)); v[ind++] = x; v[ind++] = 2*x - 1); vecsort(v,,8);} \\ Michel Marcus, Dec 18 2018

Extensions

More terms from Michel Marcus, Dec 18 2018
Missing term 685 added by G. C. Greubel, May 22 2023

A145825 a(n) is in A145818 such that (4n-1-a(n))/2 is in A145818 as well.

Original entry on oeis.org

1, 5, 1, 5, 17, 21, 17, 21, 1, 5, 1, 5, 17, 21, 17, 21, 65, 69, 65, 69, 81, 85, 81, 85, 65, 69, 65, 69
Offset: 1

Views

Author

Vladimir Shevelev, Oct 20 2008

Keywords

Comments

Note that a(4n)=a(4n-2), a(4n-1)=a(4n-3).

Crossrefs

Showing 1-4 of 4 results.