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.

This page as a plain text file.
%I A246068 #15 May 24 2019 06:48:23
%S A246068 0,2,6,14,20,24,30,42,62,78,110,120,126,156,240,254,272,336,342,510,
%T A246068 620,726,812,930,1022,1320,1332,1640,1806,2046,2184,2394,2756,3120,
%U A246068 3422,3660,4094,4422,4896,4970,5256,6162,6558,6840,7832,8190,9312,10100,10506
%N A246068 Indices of records in A246066.
%C A246068 Subsequence of numbers of form p^n-p for prime p. - _Jens Kruse Andersen_, Aug 26 2014
%H A246068 Jens Kruse Andersen, <a href="/A246068/b246068.txt">Table of n, a(n) for n = 1..10000</a>
%o A246068 (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, ", ")));
%Y A246068 Cf. A246066, A246067.
%K A246068 nonn
%O A246068 1,2
%A A246068 _Arkadiusz Wesolowski_, Aug 23 2014