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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030432 Primes of form 10n+7. 25
7, 17, 37, 47, 67, 97, 107, 127, 137, 157, 167, 197, 227, 257, 277, 307, 317, 337, 347, 367, 397, 457, 467, 487, 547, 557, 577, 587, 607, 617, 647, 677, 727, 757, 787, 797, 827, 857, 877, 887, 907, 937, 947, 967, 977, 997, 1087, 1097, 1117, 1187, 1217, 1237 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Union of A132231 and A039949. - Ray Chandler, Apr 07 2009

5 is not quadratic residue of primes of this form. - Vincenzo Librandi, Jun 25 2014

Also primes of the form 5n+2 with positive n. - Danny Rorabaugh, Feb 20 2016

LINKS

Michael B. Porter, Table of n, a(n) for n = 0..100000

A. Granville and G. Martin, Prime number races, arXiv:math/0408319 [math.NT], 2004.

FORMULA

a(n) = 10*A102342(n) + 7.

a(n) ~ 4n log n. - Charles R Greathouse IV, Jul 01 2013

MATHEMATICA

Select[Prime@Range[210], Mod[ #, 10] == 7 &] (* Ray Chandler, Nov 07 2006 *)

PROG

(MAGMA) [n: n in [7..1240 by 10] | IsPrime(n)]; // Bruno Berselli, Apr 06 2011

(PARI) is(n)=n%10==7 && isprime(n) \\ Charles R Greathouse IV, Jul 01 2013

(Sage) [10*n+7 for n in range(124) if is_prime(10*n+7)] # Danny Rorabaugh, Feb 20 2016

CROSSREFS

Cf. A030430 (10n+1), A030431 (10n+3), A030433 (10n+9).

Cf. A045357, A045380, A049509, A102342.

Sequence in context: A257668 A106095 A153319 * A090147 A211476 A155007

Adjacent sequences:  A030429 A030430 A030431 * A030433 A030434 A030435

KEYWORD

nonn,easy,base

AUTHOR

Warut Roonguthai

EXTENSIONS

Extended by Ray Chandler, Nov 07 2006

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 December 3 08:48 EST 2016. Contains 278698 sequences.