OFFSET
1,2
COMMENTS
All terms have an odd number of digits.
If k is a term and not divisible by 10, then A004086(k) is a term.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(5) = 139 is a term because the Hankel matrix
[ 1 3 ]
[ 3 9 ]
formed from the digits 1,3,9 has determinant 0.
MAPLE
N:= 100: # for a(1) to a(N)
with(LinearAlgebra):
R:= 0: count:= 1:
for d from 1 by 2 while count < N do
for x from 10^(d-1) to 10^d-1 while count < N do
L:= convert(x, base, 10);
if Determinant(HankelMatrix(L)) = 0 then
R:= R, x;
count:= count+1;
fi
od od:
R;
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert Israel, May 21 2024
STATUS
approved