login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024894 Numbers n such that 5n + 1 is prime. 8
2, 6, 8, 12, 14, 20, 26, 30, 36, 38, 42, 48, 50, 54, 56, 62, 66, 80, 84, 86, 92, 98, 104, 108, 114, 120, 126, 128, 132, 138, 140, 150, 152, 162, 164, 176, 182, 188, 194, 198, 204, 206, 210, 212, 218, 230, 234, 236, 240, 246, 258, 260, 264, 272, 276, 290, 294, 296, 302, 306, 314 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n) = (A030430(n) - 1) / 5. - Reinhard Zumkeller, Aug 15 2013

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..10000

FORMULA

a(n) ~ 0.8n log n. - Charles R Greathouse IV, Apr 16 2012

MATHEMATICA

Select[Range[350], PrimeQ[5 # + 1] &] (* Vincenzo Librandi, May 20 2014 *)

PROG

(MAGMA) [n: n in [0..1000] | IsPrime(5*n+1)]; // _Vincenzo Librandi, Nov 20 2010

(PARI) is(n)=isprime(5*n+1) \\ Charles R Greathouse IV, Apr 16 2012

(Haskell)

a024894 = flip div 5 . subtract 1 . a030430

-- Reinhard Zumkeller, Aug 15 2013

CROSSREFS

Sequence in context: A105059 A108187 A102166 * A153880 A120227 A276154

Adjacent sequences:  A024891 A024892 A024893 * A024895 A024896 A024897

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified March 25 11:34 EDT 2017. Contains 284076 sequences.