1,2

Could be called nutritionally balanced numbers.

Table of n, a(n) for n=1..7.

a[0] = 1; a[n_] := a[n] = If[ OddQ[n], a[n/2 - 1/2], a[n/2] + a[n/2 - 1]]; Do[ If[ a[n]*a[n - 1] == n, Print[n]], {n, 1, 5*10^6}]

Cf. A002487.

Sequence in context: A193609 A061999 A066756 * A055685 A262047 A280393

Adjacent sequences: A070869 A070870 A070871 * A070873 A070874 A070875

nonn

J. H. Conway, May 17 2002

More terms from David W. Wilson, May 17 2002

approved