login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A227364 a(n) = 1 + 2*3 + 4*5*6 + 7*8*9*10 + ... + ...*n (see Example lines). 7

%I #28 May 04 2021 07:37:28

%S 0,1,3,7,11,27,127,134,183,631,5167,5178,5299,6883,29191,365527,

%T 365543,365799,370423,458551,2226007,39435607,39435629,39436113,

%U 39447751,39739207,47329207,252562807,6006997207,6006997236,6006998077,6007024177,6007860247,6035477527,6975328087

%N a(n) = 1 + 2*3 + 4*5*6 + 7*8*9*10 + ... + ...*n (see Example lines).

%H Seiichi Manyama, <a href="/A227364/b227364.txt">Table of n, a(n) for n = 0..10000</a>

%e a(5) = 1 + 2*3 + 4*5 = 27;

%e a(6) = 1 + 2*3 + 4*5*6 = 127;

%e a(7) = 1 + 2*3 + 4*5*6 + 7 = 134.

%o (Python)

%o for n in range(55):

%o sum = 0

%o i = k = 1

%o while i<=n:

%o product = 1

%o for x in range(k):

%o product *= i

%o i += 1

%o if i>n: break

%o sum += product

%o k += 1

%o print(str(sum), end=',')

%Y Cf. A227363, A227365, A227366, A227367, A228958.

%K nonn

%O 0,3

%A _Alex Ratushnyak_, Jul 07 2013

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)