The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A064531 Number of connected components remaining when decimal expansion of the number n is cut from a piece of paper. 4

%I #8 Oct 02 2014 17:53:57

%S 2,1,1,1,1,1,2,1,3,2,2,1,1,1,1,1,2,1,3,2,2,1,1,1,1,1,2,1,3,2,2,1,1,1,

%T 1,1,2,1,3,2,2,1,1,1,1,1,2,1,3,2,2,1,1,1,1,1,2,1,3,2,3,2,2,2,2,2,3,2,

%U 4,3,2,1,1,1,1,1,2,1,3,2,4,3,3,3,3,3,4,3,5,4,3,2,2,2,2,2,3,2,4,3,3,2,2,2,2

%N Number of connected components remaining when decimal expansion of the number n is cut from a piece of paper.

%C Assumes that 4 is represented without a hole.

%t a[n_ /; 0 <= n <= 9] := a[n] = {2, 1, 1, 1, 1, 1, 2, 1, 3, 2}[[n + 1]]; a[n_] := Total[a /@ (id = IntegerDigits[n])] - Length[id] + 1 ; Table[a[n], {n, 0, 104}] (* _Jean-Fran├žois Alcover_, Nov 22 2013 *)

%Y Cf. A064529, A064530. Equals A064532 + 1.

%K nonn,easy,base

%O 0,1

%A _N. J. A. Sloane_, Oct 07 2001

%E More terms from _Matthew Conroy_, Oct 09 2001

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 May 24 23:50 EDT 2024. Contains 372782 sequences. (Running on oeis4.)