cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A095096 Fibevil numbers: those numbers k for which the parity of 1-fibits in Zeckendorf expansion A014417(k) is even, i.e., for which A095076(k) = 0.

Original entry on oeis.org

0, 4, 6, 7, 9, 10, 11, 14, 15, 16, 18, 22, 23, 24, 26, 29, 33, 35, 36, 37, 39, 42, 46, 47, 51, 53, 54, 56, 57, 58, 60, 63, 67, 68, 72, 74, 75, 76, 80, 82, 83, 85, 86, 87, 90, 91, 92, 94, 97, 101, 102, 106, 108, 109, 110, 114, 116, 117, 119, 120, 121, 123, 127, 129
Offset: 1

Views

Author

Antti Karttunen, Jun 01 2004

Keywords

Crossrefs

Characteristic function: A095111.
Complement of A020899.
Cf. A001969 (evil numbers), A014417, A095076, A095084 (fibevil primes).

Programs

  • Maple
    A095096 := proc(n)
        option remember;
        local a;
        if n =1 then
            0;
        else
            for a from procname(n-1)+1 do
                if A095076(a) = 0 then
                    return a;
                end if;
            end do:
        end if;
    end proc:
    seq(A095096(n),n=1..60) ; # R. J. Mathar, Sep 22 2020
  • Mathematica
    Flatten @ Position[Mod[DigitCount[Select[Range[0, 1000], BitAnd[#, 2 #] == 0 &], 2, 1], 2], 0] - 1  (* Amiram Eldar, Feb 05 2023 *)

Extensions

Changed offset to 1. - N. J. A. Sloane, Sep 12 2020