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!)
A319080 Sequence, read by rows, encoding an infinite sequence of diamond-shaped arrays of nonnegative integers (see example). 0
0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 2, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 2, 1, 0, 0, 1, 2, 3, 2, 1, 0, 0, 1, 2, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 2, 1, 0, 0, 1, 2, 3, 2, 1, 0, 0, 1, 2, 3, 4, 3, 2, 1, 0, 0, 1, 2, 3, 2, 1, 0, 0, 1, 2, 1, 0, 0, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,13
COMMENTS
The sum of each figure corresponds to A005900;
Figure 1:
0 = 0;
Figure 2:
0+0+1+0+0 = 1;
Figure 3:
0+0+1+0+0+1+2+1+0+0+1+0+0 = 6;
Figure n:
0+0+1+0+0+1+2+1+0+...+n+...0+1+2+1+0+0+1+0+0 = A005900(n).
LINKS
EXAMPLE
Figure 1 has just 0. Figure 2 would look like a 1 surrounded by 0's. Figure 3 would look like a 2 surrounded by 1's surrounded by 0's, etc.
Read by rows, the sequence starts:
Figure 1: 0;
0
Figure 2: 0, 0, 1, 0, 0;
0
0 1 0
0
Figure 3: 0, 0, 1, 0, 0, 1, 2, 1, 0, 0, 1, 0, 0;
0
0 1 0
0 1 2 1 0
0 1 0
0
Figure 4: 0, 0, 1, 0, 0, 1, 2, 1, 0, 0, 1, 2, 3, 2, 1, 0, 0, 1, 2, 1, 0, 0, 1, 0, 0;
0
0 1 0
0 1 2 1 0
0 1 2 3 2 1 0
0 1 2 1 0
0 1 0
0
...
MATHEMATICA
f[n_] := Join[#, Rest@ Reverse@ #] &@ Range[0, n]; Array[Flatten[f /@ f@ #] &, 5, 0] // Flatten (* Michael De Vlieger, Sep 10 2018 *)
CROSSREFS
Sequence in context: A115079 A286562 A185644 * A025435 A304685 A186714
KEYWORD
nonn,tabf
AUTHOR
Kritsada Moomuang, Sep 09 2018
STATUS
approved

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 June 3 09:08 EDT 2024. Contains 373057 sequences. (Running on oeis4.)