OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..3698
EXAMPLE
1130 is in the sequence because (1) it is a Perrin number, (2) the digital root is 5 and (3) 1130 is divisible by 5.
MAPLE
R:= NULL: count:= 0:
a:= 3: b:= 0: c:= 2:
while count < 100 do
q:= a+b;
a:= b; b:= c; c:= q;
dr:= c mod 9; if dr = 0 then dr:= 9 fi;
if c mod dr = 0 then R:= R, c; count:= count+1;
fi
od:
sort(convert({R}, list)); # Robert Israel, Mar 16 2023
MATHEMATICA
Select[Union @ LinearRecurrence[{0, 1, 1}, {2, 3, 2}, 100], Divisible[#, Mod[# - 1, 9] + 1] &] (* Amiram Eldar, Feb 06 2021 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), May 03 2006
EXTENSIONS
Data corrected by Amiram Eldar, Feb 06 2021
STATUS
approved