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

A105859
Numbers m such that A104647(m) = A104647(m-1) + A104647(m-2).
3
2, 3, 4, 5, 6, 9, 12, 17, 21, 25, 30, 37, 38, 39, 42, 46, 47, 51, 55, 56, 61, 66, 73, 74, 79, 86, 89, 93, 94, 102, 110, 111, 117, 118, 120, 124, 130, 136, 141, 144, 148, 154, 155, 158, 162, 170, 171, 172, 173, 177, 185, 186, 187, 188, 189, 190, 195, 201, 206, 212
OFFSET
1,1
LINKS
EXAMPLE
n=12: A104647(12)=17 = A104647(11)+A104647(10)=9+8=7, therefore 12 is a term;
n=42: A104647(42)=60 = A104647(41)+A104647(40)=31+29=60, therefore 42 is a term.
MAPLE
N:= 10^3: # for all terms <= N
A104647:= Array(0..N):
A104647[1]:= 1:
for n from 2 to N do A104647[n]:= (A104647[n-1] mod n) + (A104647[n-2] mod n) od:
select(t -> (A104647[t] = A104647[t-1]+A104647[t-2]), [$2..N]); # Robert Israel, Aug 14 2018
CROSSREFS
Cf. A105860.
Sequence in context: A057492 A178715 A018123 * A200445 A255362 A017833
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 23 2005
STATUS
approved