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.

A185012 Characteristic function of two.

This page as a plain text file.
%I A185012 #17 Jun 19 2024 09:16:46
%S A185012 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
%T A185012 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
%U A185012 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
%N A185012 Characteristic function of two.
%C A185012 The Euler transformation of this sequence is A059841.
%C A185012 This sequence is the first differences of A157928.
%H A185012 <a href="/index/Rec#order_01">Index entries for linear recurrences with constant coefficients</a>, signature (1).
%o A185012 (Python)
%o A185012 def A185012(n): return int(n==2) # _Chai Wah Wu_, Feb 04 2022
%Y A185012 Cf. A171386.
%Y A185012 Characteristic function of g: A000007 (g=0), A063524 (g=1), this sequence (g=2), A185013 (g=3), A185014 (g=4), A185015 (g=5), A185016 (g=6), A185017 (g=7).
%K A185012 nonn,easy
%O A185012 0,1
%A A185012 _Jason Kimberley_, Oct 11 2011