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.

A121799 Values of k from A061092.

This page as a plain text file.
%I A121799 #27 Nov 07 2022 02:21:50
%S A121799 1,1,2,4,2,12,4,8,26,2,8,18,16,2,6,12,4,32,30,6,40,60,22,12,208,18,48,
%T A121799 168,18,76,6,232,48,4,50,78,28,236,68,1026,10,162,6,138,162,48,120,
%U A121799 330,82,414,130,188,164,6,6,100,126,10,36,40,48,94,14,218,954
%N A121799 Values of k from A061092.
%C A121799 A061092 is: a(0) = 1; for n>0 a(n) is the smallest prime, larger than a(n-1), of the form k*a(n-1) + 1. - Corrected by _Zak Seidov_, Oct 03 2015
%H A121799 Ken Takusagawa, <a href="/A121799/b121799.txt">Table of n, a(n) for n = 1..3000</a> (terms 1..200 from T. D. Noe)
%F A121799 a(n) = (A061092(n)-1)/A061092(n-1). - _Zak Seidov_, Oct 03 2015
%t A121799 a = {2}; b = {1}; Do[k = 1; p = a[[n - 1]]; While[! PrimeQ[k p + 1], k++]; AppendTo[a, k p + 1]; AppendTo[b, k], {n, 2, 60}]; b (* _Michael De Vlieger_, Oct 03 2015, after _Robert G. Wilson v_ at A061092 *)
%Y A121799 Cf. A061092, A072532, A113334.
%K A121799 nonn
%O A121799 1,3
%A A121799 _Zak Seidov_, Oct 26 2005, Dec 14 2006
%E A121799 Definition corrected by _Ken Takusagawa_, Jan 17 2006
%E A121799 Corrected and extended by _T. D. Noe_, Mar 10 2007
%E A121799 Edited by _N. J. A. Sloane_, Aug 08 2008 at the suggestion of _R. J. Mathar_