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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A113784 Difference between semiprime(n) and semiprime(n+2). 1
5, 4, 5, 5, 7, 7, 4, 4, 8, 8, 2, 4, 4, 8, 10, 5, 6, 6, 3, 5, 7, 7, 9, 8, 8, 8, 4, 2, 5, 6, 3, 2, 12, 16, 9, 7, 4, 3, 3, 2, 7, 10, 5, 8, 8, 2, 3, 3, 10, 12, 4, 3, 7, 8, 11, 9, 6, 7, 4, 9, 14, 8, 2, 3, 3, 4, 7, 5, 2, 3, 3, 2, 3, 7, 14, 11, 12, 12, 6, 5, 6, 8, 6, 5, 9, 11, 13, 11, 4, 6, 7, 4, 3, 3, 2, 3, 6, 9 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Semiprime analogue of A031131 "Difference between n-th prime and (n+2)nd prime."

FORMULA

a(n) = A001358(n+2) - A001358(n).

EXAMPLE

a(1) = 5 because 3rd semiprime - first semiprime = 9 - 4 = 5.

a(2) = 4 because semiprime(4) - semiprime(2) = 10 - 6 = 4.

a(3) = 5 because semiprime(5) - semiprime(3) = 14 - 9 = 5.

a(4) = 5 because semiprime(6) - semiprime(4) = 15 - 10 = 5.

MATHEMATICA

t = Select[ Range@320, Plus @@ Last /@ FactorInteger@# == 2 &]; Drop[t, 2] - Drop[t, -2] (* Robert G. Wilson v *)

CROSSREFS

Cf. A001358, A056809.

Sequence in context: A122219 A093348 A001050 * A021651 A200293 A069214

Adjacent sequences:  A113781 A113782 A113783 * A113785 A113786 A113787

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Jan 20 2006

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(at)rgwv.com), Jan 21 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 14 04:02 EST 2012. Contains 205570 sequences.