login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A186773 Odd numbers whose decimal digits sum to a prime. 1
3, 5, 7, 11, 21, 23, 25, 29, 41, 43, 47, 49, 61, 65, 67, 83, 85, 89, 101, 111, 113, 115, 119, 131, 133, 137, 139, 151, 155, 157, 173, 175, 179, 191, 193, 197, 199, 201, 203, 205, 209, 221, 223, 227, 229, 241, 245, 247, 263, 265, 269, 281, 283, 287, 289, 311 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
A186773 := proc(n) option remember: local d, k: if(n=1)then return 3: fi: for k from procname(n-1)+2 by 2 do d:=convert(k, base, 10): if(isprime(add(d[j], j=1..nops(d))))then return k: fi: od: end: seq(A186773(n), n=1..56); # Nathaniel Johnston, May 27 2011
MATHEMATICA
Select[Range[3, 311, 2], PrimeQ[Total[IntegerDigits[#]]]&] (* Harvey P. Dale, Oct 20 2011 *)
CROSSREFS
Sequence in context: A175235 A060643 A025077 * A130759 A325155 A038890
KEYWORD
nonn,base,easy
AUTHOR
Giovanni Teofilatto, Feb 26 2011
EXTENSIONS
Corrected by Nathaniel Johnston, May 27 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)