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!)
A205150 s(k)-s(j), where (s(k),s(j)) is the least such pair for which n divides their difference, and s(j)=prime(j)*prime(j+1). 4
9, 20, 9, 20, 20, 42, 42, 128, 9, 20, 66, 108, 78, 42, 180, 128, 102, 108, 114, 20, 42, 66, 230, 144, 850, 78, 108, 308, 29, 180, 62, 128, 66, 102, 2485, 108, 370, 114, 78, 360, 246, 42, 215, 308, 180, 230, 893, 144, 294, 850, 102, 884, 636, 108, 1980 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For a guide to related sequences, see A204892.
LINKS
MATHEMATICA
(See the program at A205146.)
PROG
(PARI) s(m) = prime(m)*prime(m+1);
isok(k, n) = my(sk=s(k)); for (j=1, k-1, if (!Mod(sk-s(j), n), return (j)));
a(n) = my(k=1, x); while (!(j=isok(k, n)), k++); s(k) - s(j); \\ Michel Marcus, Jul 23 2021
CROSSREFS
Sequence in context: A156746 A064266 A284053 * A236205 A356317 A356319
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 25 2012
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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)