cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 11-13 of 13 results.

A354375 Square spiral on a 2D square lattice, one term per cell, starting at the origin with 0; the digits of the four integers forming any 2 X 2 square add up to a square and those sums themselves form another infinite 2D square lattice with the same property.

Original entry on oeis.org

0, 1, 2, 6, 3, 999, 4, 5, 12, 7, 799, 8, 9, 89, 29, 79, 10, 88, 8999, 69, 11, 78, 39, 97, 19, 13, 87, 7999, 59, 14, 15, 169, 39999, 68, 49999, 699, 16, 22, 96, 159, 178, 21, 17, 599, 59999, 49, 58999, 168, 25, 18, 187, 100, 4999, 20, 177, 28, 23, 186, 89999, 99999, 199999, 98999, 9999, 77, 24, 27
Offset: 1

Views

Author

Eric Angelini and Carole Dubois, May 24 2022

Keywords

Comments

This is the earliest permutation of the nonnegative integers with this property.

Examples

			The spiral begins:
.
     11--78--39--97--19--13
      |                   |
     69   4---5--12---7  87
      |   |           |   |
   8999  999  0---1  799 7999
      |   |       |   |   |
     88   3---6---2   8  59
      |               |   |
     10--79--29--89---9  14
                          |
           ... 39999-169-15
.
The digits of the four integers inside each of the four 2 X 2 squares that contain the initial 0 add up to a square: 0 + 1 + 2 + 6 = 9, 0 + 6 + 3 + (9+9+9) = 36, 0 + 999 + 4 + 5 = 36, 0 + 5 + (1+2) + 1 = 9. This is true for any 2 X 2 square on the (infinite) grid; the digits of the upper right corner add up to 36, for instance: (1+9) + (1+3) + (8+7) + 7 = 36; the lower right 2 X 2 square produces 36 = 9 + (1+4) + (1+5) + (1+6+9); etc.
All those successive "square sums" form the hereunder "second-level" spiral:
.
       36---9--36--81
        |           |
       36   9--36  81
        |       |   |
       36--36--36  36
                    |
           ... 81--36
.
Though the terms of this new spiral are not distinct (only multiples of 9), the sum of the digits inside any 2 X 2 square is a square again; the upper left 2 X 2 square produces for instance the square 36 = (3+6) + 9 + 9 + (3+6); the lower left 2 X 2 square produces the square 36 again = (3+6) + 9 + (3+6) + (3+6); the lower right 2 X 2 square produces also the square 36 = (3+6) + (3+6) + (3+6) + (8+1); the initial "center square" produces the same 36 = 9 + (3+6) + (3+6) + (3+6); etc.
		

Crossrefs

A354460 The primes sums formed for each completed 2 X 2 square of numbers in A354453.

Original entry on oeis.org

7, 13, 19, 23, 31, 29, 41, 37, 47, 53, 43, 59, 73, 61, 67, 71, 79, 83, 97, 101, 103, 89, 107, 113, 109, 127, 137, 139, 131, 149, 157, 151, 167, 163, 173, 179, 181, 191, 193, 199, 197, 211, 223, 227, 257, 229, 233, 251, 263, 239, 241, 269, 271, 281, 277, 283, 293, 307, 313, 311, 317, 331, 347, 337
Offset: 1

Views

Author

Scott R. Shannon, May 31 2022

Keywords

Comments

See A354453 for further details.

Examples

			The first prime sum is 7, which is the sum of the innermost 2 X 2 square of values 4,2,0,1 in the square spiral shown in A354453.
The fourth prime sum is 23, which is the sum of the 2 X 2 square of values 0,1,8,14 in the square spiral shown in A354453. This is the first prime sum that differs from A337116.
		

Crossrefs

A354461 The primes sums formed for each completed 3 X 3 square of numbers in A354435.

Original entry on oeis.org

47, 61, 79, 71, 103, 89, 127, 107, 131, 173, 137, 149, 197, 163, 179, 191, 239, 193, 199, 211, 271, 233, 241, 263, 281, 347, 307, 311, 313, 317, 367, 331, 349, 379, 373, 389, 431, 359, 383, 401, 409, 419, 487, 421, 439, 461, 467, 479, 509, 569, 499, 503, 541, 523, 521, 547, 647, 563, 577, 593, 617
Offset: 1

Views

Author

Scott R. Shannon, May 31 2022

Keywords

Comments

See A354435 for further details.

Examples

			The first prime sum is 47, which is the sum of the innermost 3 X 3 square of numbers 5,4,3,6,1,2,7,8,11 in the square spiral shown in A354435.
The ninth prime sum is 131, which is the sum of the 3 X 3 square of numbers 1,2,10,8,11,9,25,26,39 in the square spiral shown in A354435. This is the first sum to differ from A354442.
		

Crossrefs

Previous Showing 11-13 of 13 results.