Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117819
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117819 Final digit d of n is in the sequence iff d is prime or n is prime. +0
2
2, 3, 5, 7, 1, 2, 3, 5, 7, 9, 2, 3, 5, 7, 9, 1, 2, 3, 5, 7, 1, 2, 3, 5, 7, 2, 3, 5, 7, 9, 1, 2, 3, 5, 7, 1, 2, 3, 5, 7, 9, 2, 3, 5, 7, 9, 2, 3, 5, 7, 1, 2, 3, 5, 7, 9, 2, 3, 5, 7, 2, 3, 5, 7, 1, 2, 3, 5, 7, 9, 2, 3, 5, 7, 9, 1, 2, 3, 5, 7, 2, 3, 5, 7, 2, 3, 5, 7, 9, 1, 2, 3, 5, 7, 1, 2, 3, 5, 7, 9, 2, 3, 5, 7, 1 (list; graph; listen)
OFFSET

1,1

EXAMPLE

Calculations:

n: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ...

d: - 2 3 - 5 - 7 - - -- -1 -2 -3 -- -5 -- -7 -- -9 -- ...

PROGRAM

(PARI) for(n=1, 211, if(isprime(d=n%10)||isprime(n), print1(d, ", ")))

CROSSREFS

Cf. A118385.

Sequence in context: A033308 A134690 A065859 this_sequence A074461 A073342 A074462

Adjacent sequences: A117816 A117817 A117818 this_sequence A117820 A117821 A117822

KEYWORD

base,easy,nonn

AUTHOR

Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Apr 30 2006

EXTENSIONS

Edited, corrected and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 02 2006

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 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research