login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A323512 a(n) = A079559(A156552(n)). 3
1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1

COMMENTS

Characteristic function of numbers n whose unary-binary encoded factorization [A156552(n)] is a term of A005187.

Characteristic function of the range of f(n) = A005940(1+A005187(n)).

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..65537

Index entries for characteristic functions

FORMULA

a(n) = A079559(A156552(n)).

PROG

(PARI)

A036987(n) = !bitand(n, 1+n);

A053644(n) = { my(k=1); while(k<=n, k<<=1); (k>>1); }; \\ From A053644

A053645(n) = (n-A053644(n));

A079559(n) = if(!n, 1, (1-A036987(1+n))*A079559(A053645(1+n)));

A064989(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f)};

A156552(n) = if(1==n, 0, if(!(n%2), 1+(2*A156552(n/2)), 2*A156552(A064989(n))));

A323512(n) = A079559(A156552(n));

CROSSREFS

Cf. A005187, A005940, A079559, A156552.

Cf. also A323511.

Sequence in context: A286349 A145575 A077605 * A014672 A015335 A014906

Adjacent sequences:  A323509 A323510 A323511 * A323513 A323514 A323515

KEYWORD

nonn

AUTHOR

Antti Karttunen, Jan 18 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 19 22:14 EDT 2019. Contains 325168 sequences. (Running on oeis4.)