The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.



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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A300008 Inverse of the n-th 2 X 2 sandpile A300006(n). 3


%S 2110,2003,2101,1033,1032,1130,1023,1022,2011,1303,1302,2002,333,332,

%T 331,1031,323,322,321,1310,1203,1202,1301,233,232,231,330,223,222,221,

%U 1210,1103,1201,133,132,230,123,122,1120,1013,3332,3331,1102,3323,3322,3321,131,3313

%N Inverse of the n-th 2 X 2 sandpile A300006(n).

%C As in A300006, a 2 X 2 sandpile [a,b;c,d] is encoded as 4-digit number concat(a,b,c,d), and a leading a = 0 is not displayed.

%C By definition, a(n) (+) A300006(n) = 2222, the neutral element, where the sandpile addition (+) is the regular addition followed by "toppling" of digits (i.e., matrix elements) larger than 3, as described in A300006.

%C Sequence A300007(n) gives the index of a(n) in A300006.

%H M. F. Hasler, <a href="/A300008/b300008.txt">Table of n, a(n) for n = 1..192</a>

%F a(n) = A300006(A300007(n)).

%o (PARI) a(n)=A300006[A300007(n)]

%o /*or*/ a(n,e=[2,2;2,2])=for(i=1,#S2,spa(S2[i],S2[n])==e&&return(A300006[i])) \\ spa() and S2 are defined in A300006; A300006[i] is the decimal encoding of S2[i].

%Y For links, references etc. see the main entry A300006.

%K nonn,fini,full

%O 1,1

%A _M. F. Hasler_, Mar 07 2018

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 December 9 03:15 EST 2021. Contains 349625 sequences. (Running on oeis4.)