[go: up one dir, main page]

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”).

A353386
Sums of two squares obtained by expanding a k X k matrix to (k+1) X (k+1) and taking the not yet seen squared distances of all positions in the matrix.
2
1, 2, 4, 5, 8, 9, 10, 13, 18, 16, 17, 20, 25, 32, 26, 29, 34, 41, 50, 36, 37, 40, 45, 52, 61, 72, 49, 53, 58, 65, 74, 85, 98, 64, 68, 73, 80, 89, 100, 113, 128, 81, 82, 90, 97, 106, 117, 130, 145, 162, 101, 104, 109, 116, 125, 136, 149, 164, 181, 200, 121, 122, 137, 146, 157, 170, 185, 202, 221, 242
OFFSET
1,2
COMMENTS
The terms are a permutation of the positive terms of A001481.
EXAMPLE
The sequence can be viewed as a table with line lengths A047800(k+1) - A047800(k), in which the not yet seen sums of squares form a table line. The table starts:
1, 2,
4, 5, 8,
9, 10, 13, 18,
16, 17, 20, 25, 32,
26, 29, 34, 41, 50,
36, 37, 40, 45, 52, 61, 72,
49, 53, 58, 65, 74, 85, 98
PROG
(PARI) a353386(nmax)={my(v=vectorsmall(2*nmax^2)); for(n=1, nmax,
for(k=0, n, my(s=n^2+k^2); if(!v[s], print1(s, ", "); v[s]++)); print())};
a353386(11)
CROSSREFS
Cf. A353387 (first term in lines), A001105 (last term in lines).
Sequence in context: A378294 A362295 A069011 * A101185 A045702 A005658
KEYWORD
nonn,tabf
AUTHOR
Hugo Pfoertner, Apr 15 2022
STATUS
approved