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.

A246068 Indices of records in A246066.

Original entry on oeis.org

0, 2, 6, 14, 20, 24, 30, 42, 62, 78, 110, 120, 126, 156, 240, 254, 272, 336, 342, 510, 620, 726, 812, 930, 1022, 1320, 1332, 1640, 1806, 2046, 2184, 2394, 2756, 3120, 3422, 3660, 4094, 4422, 4896, 4970, 5256, 6162, 6558, 6840, 7832, 8190, 9312, 10100, 10506
Offset: 1

Views

Author

Arkadiusz Wesolowski, Aug 23 2014

Keywords

Comments

Subsequence of numbers of form p^n-p for prime p. - Jens Kruse Andersen, Aug 26 2014

Crossrefs

Programs

  • PARI
    k=2; for(n=0, 10506, k=k-1; r=k+1; until(vecmax(vector(#f[, 1], i, f[i, 1]^f[i, 2]))>vecmax(f[, 1])+n, k++; f=factor(k)); if(k>r, print1(n, ", ")));