VOOZH about

URL: https://oeis.org/A045574

⇱ A045574 - OEIS


login
A045574
Numbers that are still numbers when turned upside down (uses only digits 0, 1, 6, 8, 9 with no final 0's).
12
0, 1, 6, 8, 9, 11, 16, 18, 19, 61, 66, 68, 69, 81, 86, 88, 89, 91, 96, 98, 99, 101, 106, 108, 109, 111, 116, 118, 119, 161, 166, 168, 169, 181, 186, 188, 189, 191, 196, 198, 199, 601, 606, 608, 609, 611, 616, 618, 619, 661, 666, 668, 669, 681, 686, 688, 689, 691, 696, 698, 699
OFFSET
1,3
COMMENTS
"No final 0's" means that the rotated number should not have leading zeros; the single digit of the number 0 itself is not considered as such.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..12501 (all terms < 10^6; terms 1..2501 from Michel Marcus).
MATHEMATICA
A045574list[k_] := Flatten[{#, Table[Map[FromDigits, Tuples[Join[{Rest[#]}, Table[#, d-2], {Rest[#]}]]], {d, 2, k}]}] & [{0, 1, 6, 8, 9}]; (* Generates all terms < 10^k *)
A045574list[3] (* Paolo Xausa, Feb 05 2026 *)
PROG
(PARI) is_A045574(n)=n%10 & !setminus(Set(Vec(Str(n))), Vec("01689")) || !n \\ M. F. Hasler, May 04 2012
CROSSREFS
KEYWORD
base,easy,nonn
EXTENSIONS
More terms from Michel Marcus, Dec 27 2020
STATUS
approved