cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A104211 Integers n such that the sum of the digits of n is not prime.

This page as a plain text file.
%I A104211 #14 Jul 05 2024 09:32:49
%S A104211 1,4,6,8,9,10,13,15,17,18,19,22,24,26,27,28,31,33,35,36,37,39,40,42,
%T A104211 44,45,46,48,51,53,54,55,57,59,60,62,63,64,66,68,69,71,72,73,75,77,78,
%U A104211 79,80,81,82,84,86,87,88,90,91,93,95,96,97,99,100,103,105,107,108,109,112
%N A104211 Integers n such that the sum of the digits of n is not prime.
%H A104211 Vincenzo Librandi, <a href="/A104211/b104211.txt">Table of n, a(n) for n = 1..1000</a>
%e A104211 Sum of digits of 15=6 not prime.
%t A104211 Select[Range[250], !PrimeQ[Total[IntegerDigits[ # ]]]&] (* _Vincenzo Librandi_, Apr 17 2013 *)
%o A104211 (PARI) lista(n) = { my(x,y); for(x=1,n, y=sumdigits(x); if(!isprime(y), print1(x,", ") ) ); }
%Y A104211 Complement of A028834.
%Y A104211 Cf. A000040, A007953.
%K A104211 easy,nonn,base
%O A104211 1,2
%A A104211 _Cino Hilliard_, Mar 13 2005