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!)
A142195 Primes congruent to 31 mod 40. 1
31, 71, 151, 191, 271, 311, 431, 631, 751, 911, 991, 1031, 1151, 1231, 1471, 1511, 1831, 1871, 1951, 2111, 2311, 2351, 2551, 2591, 2671, 2711, 2791, 3191, 3271, 3391, 3511, 3631, 3671, 3911, 4111, 4231, 4271, 4391, 4591, 4751, 4831, 4871, 4951, 5231, 5351 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[2000]], MemberQ[{31}, Mod[#, 40]]&] (* Vincenzo Librandi, Aug 22 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(7000) | p mod 40 eq 31 ]; // Vincenzo Librandi, Aug 22 2012
(PARI) is(n)=isprime(n) && n%40==31 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A127191 A003542 A055781 * A237992 A356457 A139975
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
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 12:53 EDT 2024. Contains 371780 sequences. (Running on oeis4.)