The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A089196 Floor(n / (smallest prime factor of n+1)). 1
0, 0, 1, 0, 2, 0, 3, 2, 4, 0, 5, 0, 6, 4, 7, 0, 8, 0, 9, 6, 10, 0, 11, 4, 12, 8, 13, 0, 14, 0, 15, 10, 16, 6, 17, 0, 18, 12, 19, 0, 20, 0, 21, 14, 22, 0, 23, 6, 24, 16, 25, 0, 26, 10, 27, 18, 28, 0, 29, 0, 30, 20, 31, 12, 32, 0, 33, 22, 34, 0, 35, 0, 36, 24, 37, 10, 38, 0, 39, 26, 40 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = A032742(n+1)-1.
a(n) = n - A032742(n+1) iff n is odd.
a(n) = 0 iff n+1 is prime.
MATHEMATICA
Table[Floor[n/FactorInteger[n+1][[1, 1]]], {n, 100}] (* Harvey P. Dale, Aug 05 2014 *)
CROSSREFS
Cf. A020639.
Sequence in context: A338490 A213607 A298932 * A208435 A208457 A353335
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 08 2003
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 June 7 22:01 EDT 2024. Contains 373206 sequences. (Running on oeis4.)