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!)
A155972 The Partition Ruler 3

%I #7 Jun 19 2019 10:32:21

%S 1,1,0,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,

%T 0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,

%U 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1

%N The Partition Ruler

%C a(k) = 1 if k = A000070(n) - 1 for some n >= 0 otherwise 0.

%C Is this the same as A134286? - _N. J. A. Sloane_, Feb 02 2009

%e .1,

%e .1,

%e .0, 1,

%e .0, 0, 1,

%e .0, 0, 0, 0, 1,

%t a70[n_] := a70[n] = PartitionsP[Range[0, n]] // Total;

%t a[k_] := AnyTrue[Range[0, k], k == a70[#]-1&] // Boole;

%t Table[a[k], {k, 0, 96}] (* _Jean-François Alcover_, Jun 19 2019 *)

%Y Cf. A000070, A000041.

%K nonn,tabf

%O 0,1

%A _Peter Luschny_, Jan 31 2009

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 15 12:15 EDT 2024. Contains 375173 sequences. (Running on oeis4.)