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!)
A365716 a(n) = 1 if the largest divisor of n <= sqrt(n) is a power of 2, otherwise 0. 2
1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
LINKS
FORMULA
a(n) = A209229(A033676(n)).
a(n) >= A365605(n).
MATHEMATICA
Table[If[IntegerQ[Log2[Max[Select[Divisors[n], #<=Sqrt[n]&]]]], 1, 0], {n, 110}] (* Harvey P. Dale, May 26 2024 *)
PROG
(PARI)
A209229(n) = (n && !bitand(n, n-1));
A033676(n) = { my(d); if(n<2, 1, d=divisors(n); d[(length(d)+1)\2]) }; \\ From A033676.
CROSSREFS
Characteristic function of A365406.
Sequence in context: A267256 A351824 A365605 * A334460 A071023 A166280
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 22 2023
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 30 09:10 EDT 2024. Contains 373863 sequences. (Running on oeis4.)