Skip to main content
deleted 2 characters in body
Source Link

[Haskell]Haskell, 64 59 58 57 51 bytes

Saved a total of 6 bytes thanks to @Laikoni and @Ørjan Johansen

(`take`[x|x<-[2..],and[x`gcd`read[c]<2|c<-show x]])

Try it online!

[Haskell], 64 59 58 57 51 bytes

Saved a total of 6 bytes thanks to @Laikoni and @Ørjan Johansen

(`take`[x|x<-[2..],and[x`gcd`read[c]<2|c<-show x]])

Try it online!

Haskell, 64 59 58 57 51 bytes

Saved a total of 6 bytes thanks to @Laikoni and @Ørjan Johansen

(`take`[x|x<-[2..],and[x`gcd`read[c]<2|c<-show x]])

Try it online!

added 2 characters in body
Source Link
H.PWiz
  • 11.6k
  • 2
  • 22
  • 56

[Haskell], 64 59 58 57 4951 bytes

Saved a total of 86 bytes thanks to @Laikoni and @Ørjan Johansen

(`take`[x|x<-[2..],and[x`gcd`read[c]<2|c<-show x]])

Try it online!

[Haskell], 64 59 58 57 49 bytes

Saved a total of 8 bytes thanks to @Laikoni and @Ørjan Johansen

`take`[x|x<-[2..],and[x`gcd`read[c]<2|c<-show x]]

Try it online!

[Haskell], 64 59 58 57 51 bytes

Saved a total of 6 bytes thanks to @Laikoni and @Ørjan Johansen

(`take`[x|x<-[2..],and[x`gcd`read[c]<2|c<-show x]])

Try it online!

added 65 characters in body
Source Link
H.PWiz
  • 11.6k
  • 2
  • 22
  • 56

[Haskell], 64 59 58 5757 49 bytes

Saved a total of 8 bytes thanks to @Laikoni and @Ørjan Johansen

flip take[x|x<`take`[x|x<-[2..],all(<2).map(gcdand[x`gcd`read[c]<2|c<-show x.read.pure).show$x]x]]

Try it online!Try it online!

[Haskell], 64 59 58 57 bytes

flip take[x|x<-[2..],all(<2).map(gcd x.read.pure).show$x]

Try it online!

[Haskell], 64 59 58 57 49 bytes

Saved a total of 8 bytes thanks to @Laikoni and @Ørjan Johansen

`take`[x|x<-[2..],and[x`gcd`read[c]<2|c<-show x]]

Try it online!

deleted 71 characters in body
Source Link
H.PWiz
  • 11.6k
  • 2
  • 22
  • 56
Loading
deleted 71 characters in body
Source Link
H.PWiz
  • 11.6k
  • 2
  • 22
  • 56
Loading
Source Link
H.PWiz
  • 11.6k
  • 2
  • 22
  • 56
Loading