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!)
A024910 Numbers k such that 9*k - 2 is prime. 1

%I #20 Sep 08 2022 08:44:48

%S 1,5,7,9,11,17,25,27,31,35,37,39,41,47,49,51,61,67,69,75,77,79,81,95,

%T 101,111,115,117,119,121,125,135,137,139,145,147,159,161,165,179,181,

%U 185,189,195,199,207,209,215,217,221,235,237,245,247,249,255,257,261,265,271,275

%N Numbers k such that 9*k - 2 is prime.

%H Vincenzo Librandi, <a href="/A024910/b024910.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[300], PrimeQ[9 # - 2] &] (* _Vincenzo Librandi_, Sep 26 2012 *)

%o (Magma) [n: n in [1..300] | IsPrime(9*n-2)]; // _Vincenzo Librandi_, Nov 19 2010

%o (PARI) is(n)=isprime(9*n-2) \\ _Charles R Greathouse IV_, Jun 06 2017

%Y Cf. A061241 (associated primes).

%K nonn,easy

%O 1,2

%A _Clark Kimberling_

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 August 19 08:33 EDT 2024. Contains 375284 sequences. (Running on oeis4.)