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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115166 Even numbers n such that n-2 and n+2 have the same number of distinct prime divisors. 0
6, 8, 12, 16, 20, 22, 24, 26, 36, 38, 42, 46, 48, 50, 52, 54, 56, 60, 68, 70, 74, 78, 84, 90, 94, 96, 98, 102, 106, 110, 112, 114, 120, 128, 144, 146, 150, 152, 160, 162, 164, 172, 174, 184, 186, 188, 190, 194, 198, 204, 210, 214, 216, 232, 234, 236, 246, 252, 262 (list; graph; refs; listen; history; internal format)
OFFSET

4,1

EXAMPLE

38 is in the sequence because 36=2^2*3^2 and 40=2^3*5.

MAPLE

with(numtheory): a:=proc(n) if nops(factorset(n-2))=nops(factorset(n+2)) then n else fi end: seq(a(2*n), n=2..133); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 12 2006

PROG

(PARI) g(n) = forstep(x=4, n, 2, p1=omega(x-2); p2=omega(x+2); if(p1==p2, print(x", ")))

CROSSREFS

Sequence in context: A059611 A177085 A194409 * A050992 A090259 A089241

Adjacent sequences:  A115163 A115164 A115165 * A115167 A115168 A115169

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Mar 03 2006

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 16 18:43 EST 2012. Contains 205939 sequences.