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.

A217892 Indices of records in A194591.

Original entry on oeis.org

1, 5, 13, 47, 59, 109, 241, 335, 1109, 1373, 1447, 14893, 37892, 56543, 185644, 649603, 838441, 8840101, 16935761, 100604513, 118373279, 270704167, 1355477231
Offset: 1

Views

Author

Max Alekseyev, Oct 14 2012

Keywords

Comments

Record values are given by A194600.

Crossrefs

Programs

  • Mathematica
    a[n_]:= (k=0; While[!PrimeQ[n*2^k-1] && !PrimeQ[n*2^k+1], k++]; k); w = {1}; v = {0}; Do[If[a[n]>v[[-1]], AppendTo[v, a[n]]; Print[n]], {n, 1356000000}] (* Farideh Firoozbakht, Oct 16 2014 *)

Extensions

a(23)=A194639(22) from Wilfrid Keller, added by Max Alekseyev, Oct 18 2014