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!)
A243291 Difference between n and the index of its largest prime factor: a(n) = n - A061395(n). 4
1, 1, 1, 3, 2, 4, 3, 7, 7, 7, 6, 10, 7, 10, 12, 15, 10, 16, 11, 17, 17, 17, 14, 22, 22, 20, 25, 24, 19, 27, 20, 31, 28, 27, 31, 34, 25, 30, 33, 37, 28, 38, 29, 39, 42, 37, 32, 46, 45, 47, 44, 46, 37, 52, 50, 52, 49, 48, 42, 57, 43, 51, 59, 63, 59, 61, 48, 61, 60 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
All terms are strictly positive because A006530(n) <= n, A049084(n) < n and thus A061395(n) < n. [As A061395(n) = A049084(A006530(n))].
Please see also the comments at A243289.
LINKS
FORMULA
a(n) = n - A061395(n).
For n > 1, a(2^n) = (2^n)-1.
MATHEMATICA
a[n_] := n - PrimePi[FactorInteger[n][[-1, 1]]]; Array[a, 100] (* Amiram Eldar, Mar 04 2024 *)
PROG
(Scheme) (define (A243291 n) (- n (A061395 n)))
CROSSREFS
Sequence in context: A175508 A065375 A070961 * A245962 A325705 A243407
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 04 2014
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 23 14:49 EDT 2024. Contains 371914 sequences. (Running on oeis4.)