Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A113729
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A113729 a(n) is the integer between p(n) and p(n+3) which is divisible by (p(n+3)-p(n)), where p(n) is the n-th prime. +0
2
5, 8, 8, 10, 16, 20, 24, 24, 28, 36, 36, 40, 48, 48, 56, 56, 60, 72, 72, 72, 80, 90, 90, 98, 100, 104, 110, 120, 110, 120, 132, 144, 140, 144, 154, 160, 160, 176, 168, 180, 182, 192, 192, 198, 208, 224, 216, 230, 228, 240, 234, 252, 242, 252, 266, 266, 276, 276 (list; graph; listen)
OFFSET

1,1

COMMENT

Exactly one integer exists between each p(n+3) and p(n) which is divisible by (p(n+3)-p(n)).

FORMULA

a(n)=p(n+3) - (p(n) (mod p(n+3)-p(n))).

EXAMPLE

Between the primes 19 and 31 is the composite 24, and 24 is divisible by (31-19)=12. So 24 is in the sequence.

MATHEMATICA

f[n_] := Block[{p = Prime[n], q = Prime[n + 3]}, q - Mod[p, q - p]]; Table[ f[n], {n, 58}] (* Robert G. Wilson v *)

CROSSREFS

Cf. A113709, A113728.

Sequence in context: A069997 A073822 A031165 this_sequence A097523 A021633 A101079

Adjacent sequences: A113726 A113727 A113728 this_sequence A113730 A113731 A113732

KEYWORD

nonn

AUTHOR

Leroy Quet (qq-quet(AT)mindspring.com), Nov 08 2005

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(at)rgwv.com), Nov 09 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research