login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Characteristic function of magic numbers A018226: 0 if n is a magic number else 1.
2

%I #5 Mar 30 2012 17:34:00

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

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

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

%N Characteristic function of magic numbers A018226: 0 if n is a magic number else 1.

%C Also, successive digits of A130598.

%C This sequence is related to atomic nuclei. See also A162518.

%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>

%Y Cf. A018226, A130517, A130556, A130598, A130602, A162518, A162521, A162522, A162523, A162524, A162525.

%K fini,nonn

%O 1,1

%A _Omar E. Pol_, Jul 07 2009