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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A187829 Numbers that when converted to hexadecimal and the letters are replaced by base 10 equivalents, result in the same number. 2
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 4494410, 4494411, 4494412, 4494413, 4494414, 4494415, 4715360, 4715361, 4715362, 4715363, 4715364, 4715365, 4715366, 4715367, 4715368, 4715369, 5660810, 5660811, 5660812, 5660813, 5660814, 5660815 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Ross Millikan, Table of n, a(n) for n = 1..85

EXAMPLE

4494410 in hex is 44944A.  Replacing A in the string results in 4494410.

PROG

Python:

def hexmatch(inp):

.h=hex(inp)

.ho=''

.for i in h[2:]:

.if i=='a': ho+='10'

.elif i=='b' :ho+='11'

.elif i=='c' :ho+='12'

.elif i=='d' :ho+='13'

.elif i=='e' :ho+='14'

.elif i=='f' :ho+='15'

.else: ho +=i

.return ho

def loop(start, stop):

.rec=100000000

.for i in range(start, stop):

.val=int(hexmatch(i))

.diff=val-i

.if diff==0: print i

CROSSREFS

Sequence in context: A044917 A246337 A161953 * A105427 A247160 A023808

Adjacent sequences:  A187826 A187827 A187828 * A187830 A187831 A187832

KEYWORD

base,nonn,changed

AUTHOR

Ross Millikan, Dec 27 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 14 01:22 EST 2019. Contains 329978 sequences. (Running on oeis4.)