login
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
3, 1, 2, 4, 5, 9, 8, 16, 24, 36, 54, 81, 162, 135, 180, 240, 320, 640, 960, 1440, 2160, 3240, 4860, 7290, 10935, 19683, 17496, 23328, 31104, 41472, 55296, 73728, 98304, 131072, 262144, 393216, 589824, 884736, 1327104, 1990656, 2985984, 4478976, 6718464
OFFSET
0,1
PROG
(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++)
CROSSREFS
Cf. A250305.
Sequence in context: A230448 A201653 A230765 * A120577 A104695 A233904
KEYWORD
nonn
AUTHOR
Derek Orr, Jan 15 2015
STATUS
approved