Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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!)
A046667 a(n) = A046666(n)/2. 2
0, 0, 1, 0, 2, 0, 3, 3, 4, 0, 5, 0, 6, 6, 7, 0, 8, 0, 9, 9, 10, 0, 11, 10, 12, 12, 13, 0, 14, 0, 15, 15, 16, 15, 17, 0, 18, 18, 19, 0, 20, 0, 21, 21, 22, 0, 23, 21, 24, 24, 25, 0, 26, 25, 27, 27, 28, 0, 29, 0, 30, 30, 31, 30, 32, 0, 33, 33, 34, 0, 35, 0, 36, 36 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,5
LINKS
MATHEMATICA
Table[(1/2)(n - First@(First/@FactorInteger[n])), {n, 2, 100}] (* Vincenzo Librandi, Apr 08 2020 *)
PROG
(PARI) a(n)={if(n==1, 0, my(f=factor(n)[, 1]); (n-f[1])/2)} \\ Andrew Howroyd, Mar 07 2020
CROSSREFS
Cf. A046666.
Sequence in context: A283981 A291307 A239313 * A108407 A180772 A370594
KEYWORD
nonn
AUTHOR
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 August 18 19:26 EDT 2024. Contains 375273 sequences. (Running on oeis4.)