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.

A307647 Numbers that are the sum of a prime number and a positive cube.

Original entry on oeis.org

3, 4, 6, 8, 10, 11, 12, 13, 14, 15, 18, 19, 20, 21, 24, 25, 27, 29, 30, 31, 32, 34, 37, 38, 39, 40, 42, 44, 45, 46, 48, 49, 50, 51, 54, 55, 56, 58, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 72, 74, 75, 77, 79, 80, 81, 83, 84, 86, 87, 88, 90, 91, 93, 94, 95, 97, 98, 100, 101, 102, 104, 105
Offset: 1

Views

Author

Ilya Gutkovskiy, Apr 19 2019

Keywords

Crossrefs

Programs

  • Maple
    N:= 200: # for terms <= N
    P:= select(isprime,[2,seq(i,i=3..N-1,2)]):
    C:= [seq(j^3,j=1..floor((N-2)^(1/3)))]:
    sort(convert(select(`<=`,{seq(seq(p+c,p=P),c=C)},N),list)); # Robert Israel, Apr 22 2019

Formula

Exponents in expansion of (Sum_{i>=1} x^prime(i)) * (Sum_{j>=1} x^(j^3)).

A365127 Numbers that are the sum of a prime number and a fourth power of a nonnegative integer.

Original entry on oeis.org

2, 3, 4, 5, 6, 7, 8, 11, 12, 13, 14, 17, 18, 19, 20, 21, 23, 24, 27, 29, 30, 31, 32, 33, 35, 37, 38, 39, 41, 42, 43, 44, 45, 47, 48, 53, 54, 57, 59, 60, 61, 62, 63, 67, 68, 69, 71, 72, 73, 74, 75, 77, 79, 80, 83, 84, 86, 87, 88, 89, 90, 92, 94, 95, 97, 98, 99, 100
Offset: 1

Views

Author

Ilya Gutkovskiy, Aug 24 2023

Keywords

Crossrefs

Programs

  • Mathematica
    nmax = 100; f[x_] := Sum[x^Prime[i], {i, 1, nmax}] Sum[x^j^4, {j, 0, nmax^(1/4)}]; Exponent[#, x] & /@ List @@ Normal[Series[f[x], {x, 0, nmax}]]
Showing 1-2 of 2 results.