Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A161848
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A161848 Primes with at least one digit appearing exactly three times in the decimal expansion. +0
1
1117, 1151, 1171, 1181, 1511, 1777, 1811, 1999, 2111, 2221, 2333, 2777, 2999, 3313, 3323, 3331, 3343, 3373, 3433, 3533, 3733, 3833, 4111, 4441, 4447, 4999, 5333, 5557, 6661, 7177, 7333, 7477, 7577, 7717, 7727, 7757, 7877, 8111, 8887, 8999, 9199, 9929 (list; graph; listen)
OFFSET

1,1

COMMENT

Sequence is probably infinite.

EXAMPLE

2333, 3313, 3833 all repeat some digit 3 three times.

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 2000 do p := ithprime(n) ; if isdgctm(p, 3) then printf("%d, ", p) ; fi; od: # R. J. Mathar, Jun 21 2009

CROSSREFS

Cf.: A161786, A161796

Sequence in context: A066484 A151951 A027622 this_sequence A020380 A145334 A032777

Adjacent sequences: A161845 A161846 A161847 this_sequence A161849 A161850 A161851

KEYWORD

nonn,base

AUTHOR

Ki Punches (ki1212(AT)pocketmail.com), Jun 20 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 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research