OFFSET
0,3
COMMENTS
1's occur at positions n=1, n=3 and n=15 as they are such natural numbers that A000217(n) is also one of the factorial numbers (A000142), as we have A000217(1) = 1 = 1!, A000217(3) = 1+2+3 = 6 = 3! and A000217(15) = 1 + 2 + ... + 15 = 120 = 5!
On the other hand, a(2)=2, as A000217(2) = 1+2 = 3 = 2! + 1!. Is this the only occurrence of 2?
Are some numbers guaranteed to occur an infinite number of times?
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..10000
FORMULA
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 18 2013
STATUS
approved