1,6

This sequence is a decimal variant of A279125.

Rémy Sigrist, Table of n, a(n) for n = 1..10000

Rémy Sigrist, Scatterplot of the first 100000 terms

Rémy Sigrist, C program for A336206

a(n) = 0 iff n belongs to A278742.

We can choose a(1) = a(2) = a(3) = 0 as 1 + 2 + 3 = 6 can be computed without carries.

However 1 + 2 + 3 + 4 implies a carry, so a(4) = 1.

(C) See Links section.

Cf. A278742, A279125.

Sequence in context: A037848 A037884 A347728 * A303534 A030567 A049265

Adjacent sequences: A336203 A336204 A336205 * A336207 A336208 A336209

nonn,look,base

Rémy Sigrist, Jul 12 2020

approved