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!)
A173086 Numbers n such that n, n^2 - 6, and n^2 + 6 are semiprime. 1
4, 10, 49, 95, 121, 217, 247, 289, 295, 301, 305, 335, 371, 427, 469, 493, 535, 551, 581, 583, 707, 721, 745, 749, 767, 815, 817, 835, 851, 893, 899, 901, 973, 1099, 1169, 1205, 1219, 1253, 1333, 1349, 1379, 1405, 1501, 1603, 1685, 1711, 1739, 1751, 1757, 1765 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
4=2*2, 4^2-6=10=2*5, 4^2+6=22=2*11, so 4 is in the sequence.
MATHEMATICA
f[n_]:=Last/@FactorInteger[n]=={1, 1}||Last/@FactorInteger[n]=={2}; lst={}; Do[If[f[n], a=n^2-6; b=n^2+6; If[f[a]&&f[b], AppendTo[lst, n]]], {n, 8!}]; lst
CROSSREFS
Sequence in context: A149231 A335873 A364281 * A081565 A151611 A351046
KEYWORD
nonn
AUTHOR
EXTENSIONS
Edited by Charles R Greathouse IV, Apr 06 2010
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 23 05:20 EDT 2024. Contains 371906 sequences. (Running on oeis4.)