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.

A270808 First differences of A270807, divided by 2.

This page as a plain text file.
%I A270808 #7 Apr 06 2016 12:55:21
%S A270808 1,1,1,1,2,1,2,1,2,3,1,2,1,2,1,5,3,1,5,1,8,4,5,1,2,3,6,4,2,3,1,5,1,8,
%T A270808 1,2,6,1,2,3,1,2,4,23,1,11,3,4,2,1,23,10,2,18,1,5,1,8,6,1,8,7,23,1,2,
%U A270808 1,5,7,2,1,2,6,18,1,2,25,2,1,32,1,17,7,2,1,2,10,14,3,7,8
%N A270808 First differences of A270807, divided by 2.
%H A270808 Chai Wah Wu, <a href="/A270808/b270808.txt">Table of n, a(n) for n = 0..10000</a>
%o A270808 (Python)
%o A270808 from __future__ import division
%o A270808 from sympy import primefactors
%o A270808 A270808_list, a = [], 1
%o A270808 for i in range(10001):
%o A270808     b = a//(max(primefactors(a)+[1])) + 1
%o A270808     A270808_list.append(b//2)
%o A270808     a += b # _Chai Wah Wu_, Apr 06 2016
%Y A270808 Cf. A270807.
%K A270808 nonn
%O A270808 0,5
%A A270808 _N. J. A. Sloane_, Apr 05 2016