login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A092595 Numbers n such that sum of decimal digits of n and n+1 are both prime numbers, i.e. both n and n+1 are in A028834. 0
2, 11, 20, 29, 49, 101, 110, 119, 139, 199, 200, 209, 229, 289, 319, 379, 409, 469, 559, 649, 739, 829, 919, 1001, 1010, 1019, 1039, 1099, 1100, 1109, 1129, 1189, 1219, 1279, 1309, 1369, 1459, 1549, 1639, 1729, 1819, 1909, 2000, 2009, 2029, 2089, 2119, 2179 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

n=4429, sam[n]=4+4+2+9=19, sam[n+1]=4+4+3+0=11.

MATHEMATICA

t=Table[0, {256}]; j=1; Do[s=Apply[Plus, IntegerDigits[n]]; s1=Apply[Plus, IntegerDigits[n+1]]; If[PrimeQ[s]&&PrimeQ[s1], Print[n]; t[[j]]=n; j=j+1], {n, 1, 10000}]; t

CROSSREFS

Cf. A028834.

Sequence in context: A067670 A159879 A017185 * A116990 A175927 A146087

Adjacent sequences:  A092592 A092593 A092594 * A092596 A092597 A092598

KEYWORD

base,nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Mar 17 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 06:27 EST 2012. Contains 205998 sequences.