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!)
A106630 Numbers k such that (prime(k)^2 - 1)/6 - prime(k) is prime. 1
7, 8, 12, 13, 17, 20, 24, 25, 28, 29, 32, 39, 42, 45, 52, 53, 58, 59, 63, 64, 67, 72, 75, 79, 83, 87, 88, 93, 100, 102, 114, 115, 125, 126, 127, 131, 139, 140, 144, 154, 159, 160, 173, 180, 190, 195, 219, 223, 232, 234, 240, 248, 253, 265, 278, 279, 284, 296, 299 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
(17^2 -1)/6 - 17 = 48 - 17 = 31 is prime, 17=prime(7), so 7 is a term.
MATHEMATICA
Select[Range[350], PrimeQ[(Prime[#]^2 -6*Prime[#] -1)/6] &] (* G. C. Greubel, Sep 08 2021 *)
PROG
(PARI) is(n, p=prime(n))=isprime((p^2-1)/6-p) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A084922.
Sequence in context: A294483 A105740 A050796 * A050798 A260628 A280999
KEYWORD
nonn
AUTHOR
Pierre CAMI, May 11 2005
EXTENSIONS
a(12) corrected by R. J. Mathar, Nov 13 2009
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 24 19:24 EDT 2024. Contains 371962 sequences. (Running on oeis4.)