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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A155972 The Partition Ruler 3

%I

%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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 18 22:39 EST 2019. Contains 329305 sequences. (Running on oeis4.)