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.

A167232 a(n) is the number obtained by writing out numbers from 1 to n and placing an alternate + and - minus sign between successive digits and evaluating the expression written.

This page as a plain text file.
%I A167232 #11 Sep 27 2023 04:00:19
%S A167232 1,-1,2,-2,3,-3,4,-4,5,4,4,3,4,3,5,4,7,6,10,9,14,13,19,18,25,24,32,31,
%T A167232 40,38,38,36,37,35,37,35,38,36,40,38,43,41,47,45,52,50,58,56,65,62,62,
%U A167232 59,60,57,59,56,59,56,60,57,62,59,65,62,69,66,74,71,80,76,76,72,73,69
%N A167232 a(n) is the number obtained by writing out numbers from 1 to n and placing an alternate + and - minus sign between successive digits and evaluating the expression written.
%H A167232 Sphere Online Judge, <a href="https://www.spoj.com/problems/KPSUM/">Problem 1433: The Sum</a>
%F A167232 a(n) = -Sum_{i=1..n} (-1)^i*A007376(i). [_R. J. Mathar_, Nov 09 2009]
%Y A167232 Cf. A007376.
%K A167232 sign,base
%O A167232 1,3
%A A167232 Dhruv (dhruvbird(AT)gmail.com), Oct 31 2009
%E A167232 a(12) corrected, more terms appended by _R. J. Mathar_, Nov 09 2009