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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079831 Numbers n such that floor(reverse(n)/n) = 2. 2
13, 14, 25, 26, 27, 28, 38, 39, 103, 113, 123, 133, 143, 153, 154, 163, 164, 173, 174, 183, 184, 193, 194, 205, 206, 215, 216, 225, 226, 235, 236, 245, 246, 255, 256, 257, 265, 266, 267, 275, 276, 277, 285, 286, 287, 295, 296, 297, 298, 307, 308, 309, 317 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Edward Jiang, Table of n, a(n) for n = 1..10000

EXAMPLE

14 is a member as floor(41/14) = 2.

MATHEMATICA

Select[Range[400], Floor[IntegerReverse[#]/#]==2&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Feb 05 2019 *)

PROG

(ARIBAS) for n := 1 to 318 do nst := ""; st := itoa(n); for i := 0 to length(st) - 1 do nst := concat(st[i], nst); end; a := atoi(nst); if a div n = 2 then write(n, ", ") end; end;

(PARI) for(n=1, 1100, if(floor(eval(concat(Vecrev(Str(n))))/n)==2, print1(n, ", "))) \\ Edward Jiang, Aug 19 2014

(Python)

from math import floor

for i in range(1, 1000):

....if floor(int(str(i)[::-1])/i)==2:

........print(i)

# Edward Jiang, Aug 19 2014

CROSSREFS

Cf. A079832.

Sequence in context: A098045 A293817 A296795 * A022803 A112653 A301660

Adjacent sequences:  A079828 A079829 A079830 * A079832 A079833 A079834

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy, Feb 11 2003

EXTENSIONS

Edited and extended by Klaus Brockhaus, Feb 12 2003

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 November 13 08:18 EST 2019. Contains 329093 sequences. (Running on oeis4.)