cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-5 of 5 results.

A048402 Primes with consecutive digits that differ exactly by 5.

Original entry on oeis.org

2, 3, 5, 7, 61, 83, 383, 727, 72727, 94949, 1616161, 383838383, 727272727, 383838383838383, 38383838383838383, 72727272727272727, 94949494949494949, 383838383838383838383
Offset: 1

Views

Author

Patrick De Geest, Apr 15 1999

Keywords

Crossrefs

Programs

  • Mathematica
    Module[{nn=50,w1,w2},w1=Flatten[Table[Select[FromDigits/@Table[ PadRight[ {},n,{a,a+5}],{n,2,nn}],PrimeQ],{a,4}]];w2=Flatten[Table[Select[ FromDigits/@ Table[PadRight[{},n,{a+5,a}],{n,2,nn}],PrimeQ],{a,4}]];Join[ {2,3,5,7},w1,w2]//Union] (* Harvey P. Dale, Jan 09 2021 *)

A048410 Numbers whose consecutive digits differ by 8.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 80, 91, 191, 808, 919, 1919, 8080, 9191, 19191, 80808, 91919, 191919, 808080, 919191, 1919191, 8080808, 9191919, 19191919, 80808080, 91919191, 191919191, 808080808, 919191919, 1919191919, 8080808080
Offset: 0

Views

Author

Patrick De Geest, Apr 15 1999

Keywords

Crossrefs

Programs

  • Mathematica
    With[{nn=10},Join[Range[0,9],Table[FromDigits[PadRight[{},n,{1,9}]],{n,nn}], Table[FromDigits[PadRight[{},m,{9,1}]],{m,nn}],Table[ FromDigits[ PadRight[ {},k,{8,0}]],{k,nn}]]]//Union (* Harvey P. Dale, Jul 17 2017 *)

A048406 Numbers whose consecutive digits differ by 4.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15, 26, 37, 40, 48, 51, 59, 62, 73, 84, 95, 151, 159, 262, 373, 404, 484, 515, 595, 626, 737, 840, 848, 951, 959, 1515, 1595, 2626, 3737, 4040, 4048, 4840, 4848, 5151, 5159, 5951, 5959, 6262, 7373, 8404, 8484, 9515, 9595, 15151
Offset: 0

Views

Author

Patrick De Geest, Apr 15 1999

Keywords

Crossrefs

A048409 Numbers whose consecutive digits differ by 7.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 18, 29, 70, 81, 92, 181, 292, 707, 818, 929, 1818, 2929, 7070, 8181, 9292, 18181, 29292, 70707, 81818, 92929, 181818, 292929, 707070, 818181, 929292, 1818181, 2929292, 7070707, 8181818, 9292929, 18181818, 29292929
Offset: 0

Views

Author

Patrick De Geest, Apr 15 1999

Keywords

Crossrefs

A048408 Numbers whose consecutive digits differ by 6.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 28, 39, 60, 71, 82, 93, 171, 282, 393, 606, 717, 828, 939, 1717, 2828, 3939, 6060, 7171, 8282, 9393, 17171, 28282, 39393, 60606, 71717, 82828, 93939, 171717, 282828, 393939, 606060, 717171, 828282, 939393, 1717171
Offset: 0

Views

Author

Patrick De Geest, Apr 15 1999

Keywords

Crossrefs

Showing 1-5 of 5 results.