Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A145387
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A145387 Natural numbers n such that n-1 and n+1 are prime, also (sum of digits) + 1 and (sum of digits) - 1 is prime. +0
1
4, 6, 42, 60, 138, 150, 192, 198, 228, 240, 282, 312, 420, 462, 570, 600, 642, 660, 822, 828, 882, 1032, 1050, 1092, 1230, 1278, 1290, 1302, 1320, 1452, 1722, 1872, 2028, 2082, 2088, 2112, 2130, 2268, 2310, 2550, 2592, 2712, 2730, 2790, 2802, 2970, 3120 (list; graph; listen)
OFFSET

1,1

MAPLE

isA0145745 := proc(n) RETURN( isprime(n-1) and isprime(n+1)) ; end: A007953 := proc(n) add(i, i=convert(n, base, 10) ); end: isA145387 := proc(n) RETURN(isA0145745(n) and isprime( A007953(n)+1) and isprime( A007953(n)-1) ) ; end: for n from 1 to 3400 do if isA145387(n) then printf("%d, ", n) ; fi; od: [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 18 2008]

CROSSREFS

Cf. A014574.

Sequence in context: A074061 A125081 A023644 this_sequence A034923 A013022 A012908

Adjacent sequences: A145384 A145385 A145386 this_sequence A145388 A145389 A145390

KEYWORD

base,easy,nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Oct 10 2008

EXTENSIONS

198 inserted by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 18 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research