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!)
A167711 Numbers such that sum of digits is one more than a prime. 1
3, 4, 6, 8, 12, 13, 15, 17, 21, 22, 24, 26, 30, 31, 33, 35, 39, 40, 42, 44, 48, 51, 53, 57, 59, 60, 62, 66, 68, 71, 75, 77, 80, 84, 86, 93, 95, 99, 102, 103, 105, 107, 111, 112, 114, 116, 120, 121, 123, 125, 129, 130, 132, 134, 138, 141, 143, 147, 149, 150, 152, 156, 158 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
12 belongs to this sequence because 1+2-1=2 is prime.
MATHEMATICA
Select[Range[158], PrimeQ[Total[IntegerDigits[#]]-1] &] (* Stefano Spezia, Apr 17 2023 *)
CROSSREFS
Sequence in context: A069357 A039893 A050115 * A037346 A250122 A243653
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Edited by Charles R Greathouse IV, Nov 12 2009
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 May 10 15:26 EDT 2024. Contains 372387 sequences. (Running on oeis4.)