OFFSET
1,1
COMMENTS
Numbers with a digit larger than one in primorial base representation, A049345. Numbers k for which A276086(k) is not squarefree. - Antti Karttunen, Feb 17 2025
LINKS
FORMULA
EXAMPLE
1 and 2 are not in the sequence, as they are the first and second primorials, 0# and 1#. 3 is not in the sequence, as 3 = 1+2. Neither 4 nor 5 can be the sum of distinct primorials (i.e. 4=2+2 or 5 = 2+2+1 repeat a primorial). 6 is not in the sequence, as it is 3#. 7 and 8 are not in the sequence as 7 = 6+1 and 8 = 6+2. 9 is not in the sequence, as 9 = 6+2+1.
PROG
(PARI) is_A177711(n) = { my(p=2); while(n, if(n%p > 1, return(1)); n = n\p; p = nextprime(1+p)); (0); }; \\ Antti Karttunen, Feb 17 2025
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, May 11 2010
STATUS
approved