The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A250306 a(0) = 3; a(n+1) is the smallest number not in the sequence such that a(n+1) - Sum_{i=0..n} a(i) divides a(n+1) + Sum_{i=0..n} a(i). 1

%I

%S 3,1,2,4,5,9,8,16,24,36,54,81,162,135,180,240,320,640,960,1440,2160,

%T 3240,4860,7290,10935,19683,17496,23328,31104,41472,55296,73728,98304,

%U 131072,262144,393216,589824,884736,1327104,1990656,2985984,4478976,6718464

%N a(0) = 3; a(n+1) is the smallest number not in the sequence such that a(n+1) - Sum_{i=0..n} a(i) divides a(n+1) + Sum_{i=0..n} a(i).

%o (PARI) v=[3];print1(3,", ");n=1;while(n<10^4,if((V=vecsum(v))!=n&&(V+n)\(n-V)==(V+n)/(n-V)&&!vecsearch(vecsort(v),n),v=concat(v,n);print1(n,", ");n=0);n++)

%Y Cf. A250305.

%K nonn

%O 0,1

%A _Derek Orr_, Jan 15 2015

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

Last modified November 27 01:16 EST 2021. Contains 349344 sequences. (Running on oeis4.)