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.

A131854 Numbers m such that A131851(m) = 0.

Original entry on oeis.org

0, 2, 5, 7, 8, 10, 13, 15, 20, 22, 28, 30, 32, 34, 37, 39, 40, 42, 45, 47, 52, 54, 60, 62, 65, 67, 73, 75, 80, 82, 85, 87, 88, 90, 93, 95, 97, 99, 105, 107, 112, 114, 117, 119, 120, 122, 125, 127, 128, 130, 133, 135, 136, 138, 141, 143, 148, 150, 156, 158, 160, 162, 165
Offset: 1

Views

Author

Reinhard Zumkeller, Jul 22 2007

Keywords

Crossrefs

Programs

  • Maple
    Z:= proc(n) option remember;
    I*procname(floor(n/2))+(n mod 2)
    end proc:
    Z(0):= 0:
    select(Re@Z=0, [$0..1000]); # Robert Israel, Dec 18 2017
  • Mathematica
    z[0] = 0; z[n_] := z[n] = z[Floor[n/2]]*I + Mod[n, 2]; Select[Range[0, 200], Re[z[#]] == 0&] (* Jean-François Alcover, Jan 31 2018 *)
  • PARI
    isok(n) = {d = Vecrev(binary(n)); real(sum(k=1, #d, d[k]*I^(k-1))) == 0;} \\ Michel Marcus, Jan 31 2018