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.

A226232 Nontrivial prime powers (A025475) which are a sum of a smaller nontrivial prime power and a perfect cube.

Original entry on oeis.org

9, 16, 128, 243, 512, 841, 1024, 1849, 5041, 6561, 8192, 32041, 65536, 76729, 157609, 177147, 187489, 310249, 524288, 734449, 1104601, 4108729, 4194304, 4782969, 5067001, 7778521, 11498881, 12823561, 31956409, 33554432, 38651089, 65302561, 78552769, 90459121, 129140163
Offset: 1

Views

Author

Alex Ratushnyak, May 31 2013

Keywords

Crossrefs

Programs

  • Maple
    for n from 1 do
        if isA025475(n) then
            for j from 1 do
                pj := n-j^3 ;
                if pj < 0 then
                    break;
                elif isA025475(pj) then
                    printf("%d,\n",n);
                    break ;
                end if;
            end do:
        end if:
    end do: # R. J. Mathar, Jun 06 2013