Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A161796
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A161796 Primes with at least one digit appearing exactly five times in the decimal expansion. +0
2
101111, 111119, 111121, 111191, 111211, 111611, 112111, 113111, 131111, 199999, 311111, 313333, 323333, 331333, 333233, 333323, 333331, 333337, 333383, 333433, 333533, 334333, 343333, 353333, 444443, 444449, 511111, 555557, 599999, 611111 (list; graph; listen)
OFFSET

1,1

COMMENT

The sequence is probably infinite.

MAPLE

isdgctm := proc(n, d) local dgs, a, i ; dgs := convert(n, base, 10) ; a := [seq(0, j=0..9)] ;

for i in dgs do a := subsop(i+1=op(i+1, a)+1, a) ; od: if convert(a, set) intersect {d} <> {} then true; else false; fi; end:

for n from 1 to 100000 do p := ithprime(n) ; if isdgctm(p, 5) then printf("%d, ", p) ; fi; od: # R. J. Mathar, Jun 21 2009

CROSSREFS

Cf. A105992, A161786.

Sequence in context: A107276 A068445 A115828 this_sequence A096929 A023077 A077760

Adjacent sequences: A161793 A161794 A161795 this_sequence A161797 A161798 A161799

KEYWORD

nonn,base

AUTHOR

Ki Punches (ki1212(AT)pocketmail.com), Jun 19 2009

EXTENSIONS

Edited and corrected by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 21 2009

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 December 18 21:37 EST 2009. Contains 171024 sequences.


AT&T Labs Research