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!)
A359184 Numbers k such that 30*k - 1, 30*k + 1, 30*k^2 - 1 and 30*k^2 + 1 are all prime. 1
1, 14, 118, 232, 538, 720, 1155, 1253, 2821, 3151, 6161, 6238, 6916, 7428, 7827, 9009, 9521, 9933, 10284, 10779, 11661, 12348, 13663, 13811, 14092, 14938, 15273, 16323, 16457, 17116, 17940, 20735, 21931, 22022, 24010, 24311, 24375, 26557, 28293, 29645, 30555, 33880, 34033, 34328, 35797, 36413 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers k such that 30*k and 30*k^2 are in A014574.
The first number k > 1 such that 30*k - 1, 30*k + 1, 30*k^2 - 1, 30*k^2 + 1, 30*k^3 - 1 and 30*k^3 + 1 are all prime is 266225.
LINKS
EXAMPLE
a(2) = 14 is a term because 30*14 - 1 = 419, 30*14 + 1 = 421, 30*14^2 - 1 = 5879, and 30*14^2 + 1 = 5881 are all prime.
MAPLE
select(k -> isprime(30*k-1) and isprime(30*k+1) and isprime(30*k^2-1) and isprime(30*k^2+1), [$1..10^5]);
MATHEMATICA
Select[Range[40000], AllTrue[{30*# - 1, 30*# + 1, 30*#^2 - 1, 30*#^2 + 1}, PrimeQ] &] (* Amiram Eldar, Dec 19 2022 *)
CROSSREFS
Cf. A014574.
Intersection of A176114 and A283867.
Sequence in context: A128569 A138431 A175874 * A006223 A091303 A241463
KEYWORD
nonn
AUTHOR
Robert Israel, Dec 18 2022
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 May 1 11:30 EDT 2024. Contains 372170 sequences. (Running on oeis4.)