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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074173 Numbers n such that n and n+2 are of the form p^2*q where p and q are primes. 2
18, 50, 242, 423, 475, 603, 637, 722, 845, 925, 1682, 1773, 2007, 2523, 2525, 2527, 3175, 3177, 4203, 4475, 4525, 4923, 5823, 6725, 6811, 6962, 7299, 7442, 7675, 8425, 8957, 8973, 9457, 9925, 10051, 10082, 10467, 11673, 11709, 12427, 12482, 12591 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

18 is a member as 18 = 3^2*2 and 20 = 2^2*5.

MATHEMATICA

lst={}; Do[f1=FactorInteger[n]; If[Sort[Transpose[f1][[2]]]=={1, 2}, f2=FactorInteger[n+2]; If[Sort[Transpose[f2][[2]]]=={1, 2}, AppendTo[lst, n]]], {n, 3, 10000}]; lst

CROSSREFS

Cf. A074172, A074174, A054753.

Sequence in context: A102836 A180292 A143928 * A092068 A093520 A051870

Adjacent sequences:  A074170 A074171 A074172 * A074174 A074175 A074176

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Aug 30 2002

EXTENSIONS

More terms from T. D. Noe (noe(AT)sspectra.com), Oct 04 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 23:53 EST 2012. Contains 205860 sequences.