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.

A099395 One if odd part of n is 3, zero otherwise.

This page as a plain text file.
%I A099395 #14 Jun 23 2021 02:16:36
%S A099395 0,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,
%T A099395 0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
%U A099395 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,1,0,0,0,0,0,0
%N A099395 One if odd part of n is 3, zero otherwise.
%C A099395 Characteristic function of A007283.
%H A099395 Antti Karttunen, <a href="/A099395/b099395.txt">Table of n, a(n) for n = 1..65537</a>
%H A099395 <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>
%F A099395 G.f.: Sum_{k>=0} x^(3*2^k).
%t A099395 Differences[Join[{0,0},Floor[Log[2,2/3 Range[2,130]]]]] (* _Harvey P. Dale_, Mar 01 2012 *)
%o A099395 (Scheme) (define (A099395 n) (if (= 3 (A000265 n)) 1 0)) ;; _Antti Karttunen_, Dec 06 2017
%Y A099395 First differences of A099396.
%Y A099395 Cf. A000265, A007283.
%K A099395 nonn
%O A099395 1,1
%A A099395 _Ralf Stephan_, Oct 21 2004