OFFSET
1,1
EXAMPLE
97663 is in the sequence because it is composite and its divisors, 1, 127, 769, 97663 have the property that the last digit of every divisor is the first digit of the next one.
MATHEMATICA
Select[Range@20000, PrimeQ@#==False&&And@@(Last@#[[1]]==First@#[[2]]&/@Partition[IntegerDigits/@Divisors@#, 2, 1])&]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giorgos Kalogeropoulos, May 05 2019
STATUS
approved