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!)
A024906 Numbers k such that 9*k + 1 is prime. 8
2, 4, 8, 12, 14, 18, 20, 22, 30, 34, 42, 44, 48, 54, 58, 60, 64, 68, 70, 82, 84, 90, 92, 98, 102, 104, 110, 112, 118, 124, 128, 130, 142, 144, 158, 162, 170, 172, 174, 180, 184, 188, 194, 198, 200, 208, 222, 224, 228, 232, 238, 240, 242, 250, 252, 254, 260, 264, 274, 278, 280 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
select(k->isprime(9*k+1), [$1..370]); # Muniru A Asiru, Jul 15 2018
MATHEMATICA
Select[Range[400], PrimeQ[9#+1]&] (* Vladimir Joseph Stephan Orlovsky, Feb 25 2011 *)
PROG
(Magma) [n: n in [1..1000] |IsPrime(9*n+1)]; // Vincenzo Librandi, Nov 20 2010
(PARI) is(n)=isprime(9*n+1) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Cf. A061237 (associated primes).
Sequence in context: A118286 A211823 A024911 * A160162 A328838 A064711
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

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 19:56 EDT 2024. Contains 371916 sequences. (Running on oeis4.)