OFFSET
1,1
COMMENTS
{0, 2, 4, 6} and {0, 2, 6, 8} are by far the most frequent possible outcome for these numbers. Up to 10^4, no number in this sequence ever produces a 1, and 1113 and 1311 are the only terms that can produce a 3, and {919, 1193, 1199, 1357, 1751, 1913, 2373} are the only terms that produce a 7. - M. F. Hasler, Apr 08 2023
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..1037
MATHEMATICA
-1 + Position[#, 4][[All, 1]] &@ Flatten@ Array[Map[Total, Transpose@ ImageData[ColorNegate@ Import["https://oeis.org/A361338/a361338_2.png", "PNG"], "Bit"][[10 # + 1 ;; 10 # + 10, 1 ;; 1000]]] &, 1, 0] (* Michael De Vlieger, Apr 06 2023, using image at A361338 *)
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Apr 05 2023
STATUS
approved