login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A295389
Numbers whose sum of digits is squarefree.
1
1, 2, 3, 5, 6, 7, 10, 11, 12, 14, 15, 16, 19, 20, 21, 23, 24, 25, 28, 29, 30, 32, 33, 34, 37, 38, 41, 42, 43, 46, 47, 49, 50, 51, 52, 55, 56, 58, 59, 60, 61, 64, 65, 67, 68, 69, 70, 73, 74, 76, 77, 78, 82, 83, 85, 86, 87, 89, 91, 92, 94, 95, 96, 98, 100, 101, 102, 104, 105, 106, 109, 110, 111, 113, 114
OFFSET
1,2
COMMENTS
Numbers k such that A007953(k) is a term of A005117. - Felix Fröhlich, Nov 21 2017
LINKS
MAPLE
select(n -> numtheory:-issqrfree(convert(convert(n, base, 10), `+`)), [$1..200]); # Robert Israel, Nov 21 2017
PROG
(PARI) is(n) = issquarefree(sumdigits(n));
for(n = 1, 200, if(is(n), print1(n, ", ")))
CROSSREFS
Cf. A005117, A007953. Includes A028834.
Sequence in context: A066940 A305318 A100118 * A028781 A136149 A101882
KEYWORD
hear,nonn,base
AUTHOR
Nile Nepenthe Wynar, Nov 21 2017
STATUS
approved