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!)
A066759 a(n) = least multiple of n differing from a prime by at most 1, if such a multiple exists; = 0 otherwise. 0
1, 2, 3, 4, 5, 6, 7, 8, 18, 10, 11, 12, 13, 14, 30, 16, 17, 18, 19, 20, 42, 22, 23, 24, 100, 52, 54, 28, 29, 30, 31, 32, 66, 68, 70, 36, 37, 38, 78, 40, 41, 42, 43, 44, 90, 46, 47, 48, 98, 100, 102, 52, 53, 54, 110, 112, 114, 58, 59, 60, 61, 62, 126, 128, 130, 66, 67, 68 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) is nonzero for all n up to 10^4. Is it always so?
LINKS
EXAMPLE
9 differs by 2 from the nearest prime, but 9 * 2 = 18 differs only by 1; hence a(9) = 18.
CROSSREFS
Sequence in context: A200447 A274840 A205406 * A204928 A171723 A039050
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Jan 17 2002
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 18 04:56 EDT 2024. Contains 371767 sequences. (Running on oeis4.)