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!)
A284005 a(0) = 1, and for n > 1, a(n) = (1 + A000120(n))*a(floor(n/2)); also a(n) = A000005(A283477(n)). 24
1, 2, 4, 6, 8, 12, 18, 24, 16, 24, 36, 48, 54, 72, 96, 120, 32, 48, 72, 96, 108, 144, 192, 240, 162, 216, 288, 360, 384, 480, 600, 720, 64, 96, 144, 192, 216, 288, 384, 480, 324, 432, 576, 720, 768, 960, 1200, 1440, 486, 648, 864, 1080, 1152, 1440, 1800, 2160, 1536, 1920, 2400, 2880, 3000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Mikhail Kurkov, Comments on A284005 [verification needed]
FORMULA
a(n) = A000005(A283477(n)).
From Mikhail Kurkov, Nov 10 2019: (Start)
a(n) = (1 + A000120(n))*a(floor(n/2)) for n>0 with a(0)=1.
a(n) = Product_{k=0..floor(log_2(n))} (1 + A000120(floor(n/2^k))) for n>0, a(0)=1.
a(n) = 2*a(f(n)) + Sum_{k=0..floor(log_2(n))-1} a(f(n) + 2^k*(1 - T(n,k))) for n>1 with a(0) = 1, a(1) = 2, f(n) = A053645(n), T(n,k) = floor(n/2^k) mod 2. (End) [verification needed]
From Mikhail Kurkov, Aug 23 2021: (Start)
a(2n+1) = a(n) + a(2n) for n >= 0.
a(2n) = a(n) + a(2n - 2^A007814(n)) for n > 0 with a(0) = 1. (End) [verification needed]
a(n) = Sum_{k=0..n} (binomial(n, k) mod 2)*A329369(k). In other words, this sequence is modulo 2 binomial transform of A329369. - Mikhail Kurkov, Mar 10 2023 [verification needed]
a(2^m*(2n+1)) = Sum_{k=0..m+1} binomial(m+1, k)*a(2^k*n) for m >= 0, n >= 0 with a(0) = 1. - Mikhail Kurkov, Apr 24 2023 [verification needed]
EXAMPLE
From Mikhail Kurkov, Feb 27 2020: (Start)
a(1) = 2 because the binary expansion of 2 is 10 and there are 2 open biased rook's tours, namely 12 and 21.
a(2) = 4 because the binary expansion of 4 is 100 and there are 4 open biased rook's tours, namely 132, 213, 231 and 321.
a(3) = 6 because the binary expansion of 6 is 110 and there are 6 open biased rook's tours, namely 123, 132, 213, 231, 312 and 321.
(End) [verification needed]
MATHEMATICA
Table[DivisorSigma[0, #] &@ Apply[Times, Map[#1^#2 & @@ # &, FactorInteger[#] /. {p_, e_} /; e == 1 :> {Times @@ Prime@ Range@ PrimePi@ p, e}]] &[Times @@ Prime@ Flatten@ Position[#, 1] &@ Reverse@ IntegerDigits[n, 2]], {n, 0, 71}] (* Michael De Vlieger, Mar 18 2017 *)
PROG
(Scheme) (define (A284005 n) (A000005 (A283477 n)))
(PARI) A284005(n) = numdiv(A283477(n)); \\ edited by Michel Marcus, May 01 2019, M. F. Hasler, Nov 10 2019
(PARI) a(n) = my(k=if(n, logint(n, 2)), s=1); prod(i=0, k, s+=bittest(n, k-i)); \\ Kevin Ryde, Jan 20 2021
CROSSREFS
Similar recurrences: A124758, A243499, A329369, A341392.
Sequence in context: A222603 A177710 A032458 * A079212 A354768 A141452
KEYWORD
nonn,look,changed
AUTHOR
Antti Karttunen, Mar 18 2017
EXTENSIONS
Made Mikhail Kurkov's Nov 10 2019 formula the new primary name of this sequence - Antti Karttunen, Dec 30 2020 [verification needed]
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 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)