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.

A178562 First differences of A178344.

This page as a plain text file.
%I A178562 #13 Sep 29 2018 18:40:53
%S A178562 1,2,1,2,1,1,1,0,1,1,1,1,1,1,1,-2,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,-10,
%T A178562 1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,-3,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,-18,
%U A178562 1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,-3,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,-11,1,1,1
%N A178562 First differences of A178344.
%H A178562 Antti Karttunen, <a href="/A178562/b178562.txt">Table of n, a(n) for n = 0..65537</a>
%F A178562 a(n) = A178344(n+1) - A178344(n).
%o A178562 (PARI)
%o A178562 A178344(n) = if(!n,1,my(i=1, s=0); while(n, s+=prime(i)^(n%2); n >>= 1; i++); (s));
%o A178562 A178562(n) = (A178344(n+1)-A178344(n)); \\ _Antti Karttunen_, Sep 29 2018
%K A178562 sign,less
%O A178562 0,2
%A A178562 _Juri-Stepan Gerasimov_, May 29 2010
%E A178562 Two terms corrected by _R. J. Mathar_, May 31 2010