login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

First differences of A270807, divided by 2.
2

%I #7 Apr 06 2016 12:55:21

%S 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 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 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 First differences of A270807, divided by 2.

%H Chai Wah Wu, <a href="/A270808/b270808.txt">Table of n, a(n) for n = 0..10000</a>

%o (Python)

%o from __future__ import division

%o from sympy import primefactors

%o A270808_list, a = [], 1

%o for i in range(10001):

%o b = a//(max(primefactors(a)+[1])) + 1

%o A270808_list.append(b//2)

%o a += b # _Chai Wah Wu_, Apr 06 2016

%Y Cf. A270807.

%K nonn

%O 0,5

%A _N. J. A. Sloane_, Apr 05 2016