A229040 Fibonacci numbers in which parity of the decimal digits alternates.
0, 1, 2, 3, 5, 8, 21, 34, 89, 610, 987, 4181, 6765
Offset: 1
Programs
-
Maple
isA030141 := proc(n) dgs := convert(n,base,10) ; for i from 2 to nops(dgs) do if modp(op(i,dgs),2) = modp(op(i-1,dgs),2) then return false; end if; end do: true ; end proc: for i from 0 do f := combinat[fibonacci](i) ; if isA030141(f) then print(f) ; end if; end do: # R. J. Mathar, Mar 13 2015
Comments