OFFSET
1,2
EXAMPLE
320 is in the sequence because 320 = 1252[6] (in base 6) and 320 = det [1,2,5,2; 2,1,2,5; 5,2,1,2; 2,5,2,1].
MATHEMATICA
Select[Range[5000], #==Det[NestList[RotateRight, IntegerDigits[#, 6], IntegerLength[#, 6]-1]]&] (* The program generates the first 12 terms of the sequence. *) (* Harvey P. Dale, Mar 11 2024 *)
PROG
(PARI) (c(v)=abs(matdet(matrix(#v, #v, i, j, v[(j-i)%#v+1])))); for(n=1, oo, n==c(digits(n, 6))&&print1(n", "))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, May 05 2018
EXTENSIONS
a(13)-a(33) from Giovanni Resta, May 07 2018
STATUS
approved