login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A124492 a(n) = least k such that 2*i*k - 1 is prime for 1 <= i <= n. 7

%I #13 Apr 20 2019 06:15:18

%S 2,2,2,3,3,77385,1447110,1447110,203937090,107290072890,4724240531010,

%T 123618251967210,1272603355923900,9089306184994125090

%N a(n) = least k such that 2*i*k - 1 is prime for 1 <= i <= n.

%t a[n_] := Block[{k = If[n < 6, 1, 5], s}, s = k; While[! AllTrue[k 2 Range[n] - 1, PrimeQ], k += s]; k]; Array[a, 8] (* _Giovanni Resta_, Apr 01 2017 *)

%Y Cf. A006254, A124485-A124491, A071576.

%K nonn,more

%O 1,1

%A _Artur Jasinski_, Nov 04 2006

%E Corrected and extended by _Don Reble_, Nov 05 2006

%E a(12)-a(14) from _Giovanni Resta_, Apr 01 2017

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 05:37 EDT 2024. Contains 371906 sequences. (Running on oeis4.)