# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a079131 Showing 1-1 of 1 %I A079131 #20 Sep 08 2022 08:45:08 %S A079131 3,5,7,19,23,37,41,43,59,61,73,79,97,109,113,127,131,149,151,163,167, %T A079131 181,199,223,239,241,257,271,277,293,307,311,313,331,347,349,367,379, %U A079131 383,397,401,419,421,433,439,457,487,491,509,523,541,547,563,577,599 %N A079131 Primes such that iterated sum-of-digits (A038194) is odd. %C A079131 Subsequence of primes of A187318. - _Michel Marcus_, Jun 08 2015 %C A079131 Primes congruent to 1, 3, 5, 7 mod 18. - _Robert Israel_, Jun 08 2015 %H A079131 Robert Israel, Table of n, a(n) for n = 1..10000 %p A079131 select(isprime, [3, seq(seq(i*18+j, j=[1,5,7]),i=0..100)]); # _Robert Israel_, Jun 08 2015 %t A079131 Select[Prime[Range[120]], OddQ[Mod[#, 9]] &] (* _Bruno Berselli_, Aug 31 2012 *) %o A079131 (PARI) forprime(p=2,600,if((p%9)%2==1,print1(p,","))) %o A079131 (Magma) [p: p in PrimesUpTo(600) | p mod 18 in [1,3,5,7]]; // _Vincenzo Librandi_, Jun 07 2015 %o A079131 (Magma) [a: n in [0..1000] | IsPrime(a) where a is Floor(9*n/5)]; // _Vincenzo Librandi_, Jun 08 2015 %Y A079131 Cf. A038194, A078403, A079130, A079132, A187318. %K A079131 nonn,easy,base %O A079131 1,1 %A A079131 _Klaus Brockhaus_, Dec 28 2002 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE