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!)
A024905 Numbers k such that 7*k + 1 is prime. 5
4, 6, 10, 16, 18, 28, 30, 34, 40, 48, 54, 60, 64, 66, 70, 78, 88, 90, 94, 96, 100, 106, 108, 118, 126, 130, 136, 138, 144, 150, 156, 166, 184, 186, 196, 204, 210, 214, 226, 228, 238, 244, 246, 268, 276, 286, 288, 298, 304, 306, 316, 324, 328, 330, 334, 340, 346, 348, 360, 364 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
select(k->isprime(7*k+1), [$1..370]); # Muniru A Asiru, Jul 15 2018
MATHEMATICA
Select[Range[400], PrimeQ[7 # + 1] &] (* Vladimir Joseph Stephan Orlovsky, Feb 25 2011 *)
PROG
(Magma) [n: n in [1..10000] | IsPrime(7*n+1)]; // Vincenzo Librandi, Nov 20 2010
(PARI) is(n)=isprime(7*n+1) \\ Charles R Greathouse IV, Feb 20 2017
CROSSREFS
Associated primes are contained in A045465.
Sequence in context: A186777 A028282 A200570 * A310587 A310588 A310589
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 18 06:12 EDT 2024. Contains 371769 sequences. (Running on oeis4.)